Description |
This method can be used to retrieve all stock quantities within a DC or retrieve stock quantities for a collection of product codes within a DC. |
Version changes
Date | Version (if applicable) | New fields | Notes |
---|---|---|---|
V3 |
| Initial Release |
System behaviours
- Will not return a SKU within a location type if the stock is 0.
- If no ProductCodes are provides in the Request, All product codes with stock will be returned.
- As the maximum length of query string is 2048, if you subtract dc and api_key from it, this provides: 2048 – 73 = 1975. For example 197 product codes can be queried if each 9 length, with a comma separator.
Available formats
| FTP | Manual | |
XML | x |
|
|
JSON | x |
|
|
CSV |
|
|
|
Field level details
Retrieve Stock Quantity Request Item |
|
|
|
|
Field | Description | Data Type | Value Limits | Requirement |
ProductCodes | Unique SKU identifier code | List<string> | separated by either , or ~ |
|
DCCode | SEKO created code that uniquely identifies the DC from other SEKO DC's. This code is supplied by SEKO. | nvarchar(100) |
|
|
Retrieve Stock Quantity Response Item |
|
|
Field | Description | Data Type |
ProductCode | Unique SKU identifier code. | nvarchar(100) |
DCCode | SEKO created code that uniquely identifies the DC from other SEKO DC's Code is supplied by SEKO. . I.e. Seko Logistics Milton Keynes DCCode: DCCL01. | nvarchar(100) |
LocationType | The location type is the type of location the stock is in, i.e. Available Stock, Quarantine, Query, QC | nvarchar(100) |
Quantity | Quantity of stock within the specified location | int |