POST dealer/dealer_stock
Upload product stock by dealer.(T+1)
Request Information
Parameters
Name | Description |
---|---|
json |
|
Request body formats
text/plain, application/x-www-form-urlencoded, text/json, application/json
Sample:
{ "dealer_number" : "83289", "key" : "********-**50-****-****-11599*******", "dealer_stock" :[{ "product_number" : "13102KRM315", "quantity" : 10 },{ "product_number" : "17950KAZ000", "quantity" : 10 }] } or { "dealer_number" : "408328", "key" : "********-**50-****-****-11599*******", "dealer_stock" :[{ "product_number" : "13102KRM315", "quantity" : 10 },{ "product_number" : "17950KAZ000", "quantity" : 10 }] }
Response Information
Response body formats
application/json, text/json
Sample:
{ "delivery": true, "receipt": "The dealer stock list has been uploaded and will be processed overnight. Any errors will be added to the error file.", "time": --, "records": --, "rate":--, "sap_info":{} } Or Bad Response: { "delivery": false, "receipt": "The dealer stock list has been uploaded fail.", "sap_info":{} }