POST Stock On Hand From WMS
https://jerrytest.ewe.com.au/eweApi/ewe/api/getWMSStock
You can use get stock from WMS API to pull the up-to-date inventory details from WMS.
Request
Attribute | Type | Required | Description |
---|---|---|---|
USERNAME | string | Required | Jerry username |
APIPASSWORD | string | Required | API password |
UPCItems | list | Required | UPC array |
UPCItems
Attribute | Type | Required | Description |
---|---|---|---|
UPC | string | Required | Barcode |
SKU | string | Optional | Stock Keeping Unit |
Request Example
Content-Type application/javascript
Batch query
{
"USERNAME": "DUMMY DUCK",
"APIPASSWORD": "xxxxxxxxxxxxxx",
"UPCItems": [
{
"UPC": "9887263221",
"SKU": ""
},
{
"UPC": "1000003",
"SKU": ""
}
]
}
Full query (set UPC and SKU to all)
{
"USERNAME": "DUMMY DUCK",
"APIPASSWORD": "xxxxxxxxxxxxxx",
"UPCItems": [
{
"UPC": "all",
"SKU": "all"
}
]
}
Response
Attribute | Type | Description |
---|---|---|
Payload | array | Valid data load. The payload type varies according to the request |
Status | integer | See Status Codes |
Message | string | Text messages. If a complex error occurs, make a brief explanation |
Payload
Attribute | Type | Description |
---|---|---|
SkuName | string | SKU name |
UPC | string | Barcode |
Quantity | integer | Quantity |
SKU | string | SKU |
conditionCode | string | Item condition |
Status Codes
Status Code | Type | Description |
---|---|---|
0 | SUCCESS | Successful |
1 | FAILURE | Failed |