Parameter | Explanation | Data Type | Compulsory |
---|---|---|---|
variant_id - barcode | Any of the barcodes of the product to be updated | string | Yes |
price | Sale price | float | Yes |
old_price | Strikethrough price ( must be higher than the selling price ) | float | No |
{
"Products": [
{
"variant_id": "2682576147907",
"price": "119.99",
"old_price": "169.50"
},
{
"barcode": "12314234234",
"price": "59.50",
"old_price": "169.99"
}
]
}
{
"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
}