Description
Request URL
/rest/fp_api/inventory/sync
Request Method
Request Parameter (Request Body)
Name |
Data Type |
Mandatory |
Description |
inventory |
Object[] |
Y |
inventory list. Max list size: 200. |
├──brand_code |
String |
Y |
brand code |
├──brand_sku_code |
String |
Y |
brand sku code |
├──qty |
Int |
N |
physical storage qty. either qty or na_ind must be mandatory. |
├──na_ind |
Int |
N |
not appliable indicater. If yes, means system should delete relevant Inventory record. |
Request Example
{
"inventory":[
{
"brand_code": "BRAND001",
"brand_sku_code": "PROD001",
"qty":200,
"na_ind":0
}
]
}
Success Response Example
{
"code": "200",
"data":
{
"success_sync_records": 10
},
"message": "success",
"request_id": "2d48f902-7efa-4718-8b88-9686803a8a02"
}