Update Bulk Product Prices
POST {{baseUrl}}/products/prices/bulkPrice
This endpoint allows you to update unlimited bulk products' prices by providing the IDs of the products and the price amount you want to update in your body request, where it will process the update procedure and then execute it later on.
Request Body
{"products"=>[{"id"=>"<number>", "price"=>"<number>", "cost_price"=>"<number>", "sale_price"=>"<number>", "sale_end"=>"<string>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"status":"\u003cnumber\u003e","success":"\u003cboolean\u003e","data":{"message":"\u003cstring\u003e","code":"\u003cnumber\u003e"}}