Parameter | Explanation | Data Type | Compulsory |
---|---|---|---|
variant_id - barcode | Breakdown ID or barcode of the company | string | Yes |
quantity | Breakdown stocks | integer | Yes |
{
"Products": [
{
"variant_id": "123153",
"quantity": 12
},
{
"barcode": "643241233",
"quantity": 5
}
]
}
{
"success": true,
"message": "success",
"status_code": 200,
"batchId": "211021-71QUVC0XJTMFVY9VFXMRIUC3UKO240FR6FYQJDI4OS4"
}
If your request returns to you of type "Success", you will see the "BatchId" parameter in the response data. You can track the status of the product you request by querying this parameter from Batch service.
{
"success": false,
"data": "",
"message": "Invalid Data",
"status_code": 400
}