GET api/{siteCode}/Warehouse/GetSKUGroups?custAccNum={custAccNum}
Gets a list of sku groups.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteCode |
The site code. |
integer |
Required |
| custAccNum |
The customer account number. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
List<StockDescription>.
Collection of StockDescription| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| StockCode | string |
None. |
|
| CustAccNum | string |
None. |
|
| Description | string |
None. |
|
| Commodity | string |
None. |
|
| DescHead1 | string |
None. |
|
| DescHead2 | string |
None. |
|
| DescHead3 | string |
None. |
|
| DescHead4 | string |
None. |
|
| DescHead5 | string |
None. |
|
| DescHead6 | string |
None. |
|
| Weight | decimal number |
None. |
|
| Length | integer |
None. |
|
| Width | integer |
None. |
|
| Height | integer |
None. |
|
| Notes | string |
None. |
|
| StorageChargeUnit | string |
None. |
|
| StorageChargeValue | decimal number |
None. |
|
| StorageChargeCurrency | string |
None. |
|
| StorageChargeBase | decimal number |
None. |
|
| NominalCode | string |
None. |
|
| Serialised | integer |
None. |
|
| AllowBackOrders | integer |
None. |
|
| Disabled | integer |
None. |
|
| TSTAMP | Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1234,
"StockCode": "Retail",
"CustAccNum": "UKCUST",
"Description": "SKU Grouping for RETAIL stock only",
"Commodity": null,
"DescHead1": "Supplier",
"DescHead2": "BatchCode",
"DescHead3": "PO#",
"DescHead4": null,
"DescHead5": null,
"DescHead6": null,
"Weight": null,
"Length": null,
"Width": null,
"Height": null,
"Notes": null,
"StorageChargeUnit": null,
"StorageChargeValue": null,
"StorageChargeCurrency": null,
"StorageChargeBase": null,
"NominalCode": null,
"Serialised": null,
"AllowBackOrders": 0,
"Disabled": 0,
"TSTAMP": null
},
{
"ID": 1235,
"StockCode": "Online",
"CustAccNum": "UKCUST",
"Description": "SKU Grouping for ONLINE stock only",
"Commodity": null,
"DescHead1": "Supplier",
"DescHead2": "BatchCode",
"DescHead3": "PO#",
"DescHead4": null,
"DescHead5": null,
"DescHead6": null,
"Weight": null,
"Length": null,
"Width": null,
"Height": null,
"Notes": null,
"StorageChargeUnit": null,
"StorageChargeValue": null,
"StorageChargeCurrency": null,
"StorageChargeBase": null,
"NominalCode": null,
"Serialised": null,
"AllowBackOrders": 0,
"Disabled": 0,
"TSTAMP": null
}
]
application/xml, text/xml
Sample:
<ArrayOfStockDescription xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<StockDescription>
<ID>1234</ID>
<StockCode>Retail</StockCode>
<CustAccNum>UKCUST</CustAccNum>
<Description>SKU Grouping for RETAIL stock only</Description>
<DescHead1>Supplier</DescHead1>
<DescHead2>BatchCode</DescHead2>
<DescHead3>PO#</DescHead3>
<Weight xsi:nil="true" />
<Length xsi:nil="true" />
<Width xsi:nil="true" />
<Height xsi:nil="true" />
<StorageChargeValue xsi:nil="true" />
<StorageChargeBase xsi:nil="true" />
<Serialised xsi:nil="true" />
<AllowBackOrders>0</AllowBackOrders>
<Disabled>0</Disabled>
</StockDescription>
<StockDescription>
<ID>1235</ID>
<StockCode>Online</StockCode>
<CustAccNum>UKCUST</CustAccNum>
<Description>SKU Grouping for ONLINE stock only</Description>
<DescHead1>Supplier</DescHead1>
<DescHead2>BatchCode</DescHead2>
<DescHead3>PO#</DescHead3>
<Weight xsi:nil="true" />
<Length xsi:nil="true" />
<Width xsi:nil="true" />
<Height xsi:nil="true" />
<StorageChargeValue xsi:nil="true" />
<StorageChargeBase xsi:nil="true" />
<Serialised xsi:nil="true" />
<AllowBackOrders>0</AllowBackOrders>
<Disabled>0</Disabled>
</StockDescription>
</ArrayOfStockDescription>