POST Create or Modify Product Master
https://jerrytest.ewe.com.au/eweApi/ewe/api/storageInfo/add_or_update
You can use this API to create or modify product master.
Request
Attribute | Type | Required | Description |
---|---|---|---|
userName | string | Required | Jerry username |
apiPassword | string | Required | API password |
apiStorageSkuInfoDtoList | array | Required | apiStorageSkuInfoDtoList |
apiStorageSkuInfoDtoList
Attribute | Type | Required | Description |
---|---|---|---|
sku | string | Required | Stock keeping unit |
skuName | string | Required | Item name in Chinese |
skuNameE | string | Required | Item name in English |
supplier | string | Required | Brand code |
skuSpec | string | Required | Specification |
grossWeight | string | Required | Item gross weight (KG) |
length | string | Optional | Item length (Meter) |
width | string | Optional | Item width (Meter) |
height | string | Optional | Item height (Meter) |
expiryControl | string | Optional | Expiry date trace; N (not control), F (control), I (trace in), O (Trace out) |
lotControl | string | Optional | Lot number trace; N (not control), F (control), I (trace in), O (Trace out) |
serialControl | string | Optional | Serial number trace; N (not control), T (control), I (trace in), O (Trace out) |
imageUrl | string | Optional | Item Image |
upcCode | string | Optional | Barcode; Required when creating new SKU |
Request Example
Content-Type application/json
{
"userName": "DUMMY DUCK",
"apiPassword": "123456",
"apiStorageSkuInfoDtoList": [
{
"sku": "TEST001",
"skuName": "Test product",
"skuNameE": "Test product",
"supplier": "EWE",
"skuSpec": "each",
"grossWeight": "2.5",
"length": "4",
"width": "8",
"height": "6",
"expiryControl": "N",
"lotControl": "N",
"serialControl": "N",
"imageUrl": "https://cdn.minimall.donkibuy.com/images/210112/oh520nr4s.jpg",
"upcCode": [
"9454689990003"
]
}
]
}