GET api/product/GetCustomerList
Get list of customers
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Customer| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerNumber | integer |
None. |
|
| CustomerName | string |
None. |
|
| ShipToList | Collection of ShipTo |
None. |
Item Type Definitions
Items - These are standalone products packaged in a single box.
- Examples include a dining chair, a complete nightstand, or even a dining set where all components are packaged together in one box.
- The contents may represent a single product or multiple pieces bundled as a complete set.
Kit Items - Products requiring multiple boxes for complete assembly or functionality.
- Examples include a dining table where the tabletop and legs are boxed separately.
- While the complete product is sold as one SKU, its components are shipped in multiple packages.
Supplement Items - Products that depend on a primary item to function, often enhancing or complementing another product.
- Examples: A dresser mirror (requires a dresser for use) or a trundle (designed to pair with a daybed).
- While sellable individually, they lack standalone utility without the corresponding main product.
Components - Single-box parts of a larger Kit Item, typically not sold or listed independently.
- Examples include the tabletop or legs of a Kit Item dining table.
- Unlike Supplement Items, Components are integral parts of a single product, not optional add-ons.
Combo Sets - Bundles of individually sellable Items curated for convenience or a cohesive design.
- Examples: A dining set combining a Kit Item table with four matching dining chairs (each chair being an Item).
- These sets simplify purchasing and ensure compatibility among the pieces.
Sellable Components - Functionally part of a larger Kit Item but capable of being sold or used on their own.
- Examples: A headboard from a multi-box bed or a standalone glass tabletop for a dining table.
- Unlike Components, Sellable Components retain functional value independently and are offered individually.
Response Formats
application/json, text/json
Sample:
[
{
"CustomerNumber": 1,
"CustomerName": "sample string 2",
"ShipToList": [
{
"ShipToCode": "sample string 1",
"ShipToName": "sample string 2",
"Address": "sample string 3",
"City": "sample string 4",
"State": "sample string 5",
"ZipCode": "sample string 6",
"CountryCode": "sample string 7",
"Phone": "sample string 8",
"Fax": "sample string 9",
"Email": "sample string 10",
"WarehouseCode": "sample string 11",
"DeliveryMethod": "sample string 12",
"PriceCode": "sample string 13",
"PriceExceptionCode": "sample string 14",
"IsDefault": true
},
{
"ShipToCode": "sample string 1",
"ShipToName": "sample string 2",
"Address": "sample string 3",
"City": "sample string 4",
"State": "sample string 5",
"ZipCode": "sample string 6",
"CountryCode": "sample string 7",
"Phone": "sample string 8",
"Fax": "sample string 9",
"Email": "sample string 10",
"WarehouseCode": "sample string 11",
"DeliveryMethod": "sample string 12",
"PriceCode": "sample string 13",
"PriceExceptionCode": "sample string 14",
"IsDefault": true
}
]
},
{
"CustomerNumber": 1,
"CustomerName": "sample string 2",
"ShipToList": [
{
"ShipToCode": "sample string 1",
"ShipToName": "sample string 2",
"Address": "sample string 3",
"City": "sample string 4",
"State": "sample string 5",
"ZipCode": "sample string 6",
"CountryCode": "sample string 7",
"Phone": "sample string 8",
"Fax": "sample string 9",
"Email": "sample string 10",
"WarehouseCode": "sample string 11",
"DeliveryMethod": "sample string 12",
"PriceCode": "sample string 13",
"PriceExceptionCode": "sample string 14",
"IsDefault": true
},
{
"ShipToCode": "sample string 1",
"ShipToName": "sample string 2",
"Address": "sample string 3",
"City": "sample string 4",
"State": "sample string 5",
"ZipCode": "sample string 6",
"CountryCode": "sample string 7",
"Phone": "sample string 8",
"Fax": "sample string 9",
"Email": "sample string 10",
"WarehouseCode": "sample string 11",
"DeliveryMethod": "sample string 12",
"PriceCode": "sample string 13",
"PriceExceptionCode": "sample string 14",
"IsDefault": true
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoasterAPI.Customers">
<Customer>
<CustomerName>sample string 2</CustomerName>
<CustomerNumber>1</CustomerNumber>
<ShipToList>
<ShipTo>
<Address>sample string 3</Address>
<City>sample string 4</City>
<CountryCode>sample string 7</CountryCode>
<DeliveryMethod>sample string 12</DeliveryMethod>
<Email>sample string 10</Email>
<Fax>sample string 9</Fax>
<IsDefault>true</IsDefault>
<Phone>sample string 8</Phone>
<PriceCode>sample string 13</PriceCode>
<PriceExceptionCode>sample string 14</PriceExceptionCode>
<ShipToCode>sample string 1</ShipToCode>
<ShipToName>sample string 2</ShipToName>
<State>sample string 5</State>
<WarehouseCode>sample string 11</WarehouseCode>
<ZipCode>sample string 6</ZipCode>
</ShipTo>
<ShipTo>
<Address>sample string 3</Address>
<City>sample string 4</City>
<CountryCode>sample string 7</CountryCode>
<DeliveryMethod>sample string 12</DeliveryMethod>
<Email>sample string 10</Email>
<Fax>sample string 9</Fax>
<IsDefault>true</IsDefault>
<Phone>sample string 8</Phone>
<PriceCode>sample string 13</PriceCode>
<PriceExceptionCode>sample string 14</PriceExceptionCode>
<ShipToCode>sample string 1</ShipToCode>
<ShipToName>sample string 2</ShipToName>
<State>sample string 5</State>
<WarehouseCode>sample string 11</WarehouseCode>
<ZipCode>sample string 6</ZipCode>
</ShipTo>
</ShipToList>
</Customer>
<Customer>
<CustomerName>sample string 2</CustomerName>
<CustomerNumber>1</CustomerNumber>
<ShipToList>
<ShipTo>
<Address>sample string 3</Address>
<City>sample string 4</City>
<CountryCode>sample string 7</CountryCode>
<DeliveryMethod>sample string 12</DeliveryMethod>
<Email>sample string 10</Email>
<Fax>sample string 9</Fax>
<IsDefault>true</IsDefault>
<Phone>sample string 8</Phone>
<PriceCode>sample string 13</PriceCode>
<PriceExceptionCode>sample string 14</PriceExceptionCode>
<ShipToCode>sample string 1</ShipToCode>
<ShipToName>sample string 2</ShipToName>
<State>sample string 5</State>
<WarehouseCode>sample string 11</WarehouseCode>
<ZipCode>sample string 6</ZipCode>
</ShipTo>
<ShipTo>
<Address>sample string 3</Address>
<City>sample string 4</City>
<CountryCode>sample string 7</CountryCode>
<DeliveryMethod>sample string 12</DeliveryMethod>
<Email>sample string 10</Email>
<Fax>sample string 9</Fax>
<IsDefault>true</IsDefault>
<Phone>sample string 8</Phone>
<PriceCode>sample string 13</PriceCode>
<PriceExceptionCode>sample string 14</PriceExceptionCode>
<ShipToCode>sample string 1</ShipToCode>
<ShipToName>sample string 2</ShipToName>
<State>sample string 5</State>
<WarehouseCode>sample string 11</WarehouseCode>
<ZipCode>sample string 6</ZipCode>
</ShipTo>
</ShipToList>
</Customer>
</ArrayOfCustomer>