Light Mode
Update Bulk Quantities by SKU
DeprecatedPOST
/products/quantities/bulkSkusLast modified: a month ago
This endpoint allows you to update unlimited bulk quantities by providing the SKUs of the products you want to update their quantity as aquery parameter.
:::warning Important
As this endpoint is to be deprecated soon, it is recommended to adapt using the Update Bulk Quantities endpoint
:::
Request
Body Params application/json
skus
array [object {3}]
required
sku
string
optional
The Product SKU. List of Product SKU can be found here.
quantity
number
optional
New quantity required if
unlimited_quantity = false
unlimited_quantity
boolean
optional
Show if this product has unlimited quantity or not
Example
{
"skus": [
{
"sku": "IPHONE-XL-PLUS",
"quantity": 5
},
{
"sku": "ASUS-Selfie",
"quantity": 12
}
]
}
Request samples
Responses
Progress In-Action(201)
Not Found(404)
Error Validation(422)
Progress In-Action
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"success": true,
"status": 201,
"error": {
"code": 201,
"message": "The details has been updated successfully"
}
}
Last modified: a month ago