Light Mode
Update Bulk Quantities
POST
/products/quantities/bulkModified at: 7 days ago
This endpoint allows you to update unlimited bulk quantities by providing the IDs of the products you want to update its quantity in your body request, where it will process the update procedure and then execute later on.
Request
Body Params application/json
products
array [object {4}]
optional
identifer-type
enum<string>
optional
Identifier Type. Value can either be id
or sku
Allowed values:
idsku
Example:
id
identifer
string
optional
Identifier Value, such as Product ID
Example:
613398835
quantity
number
optional
Quantity Value
Example:
87
unlimited_quantity
boolean
optional
Whether or not the quantity is unlimited.
Example
{
"products": [
{
"identifer-type": "id",
"identifer": "613398835",
"unlimited_quantity": true
},
{
"identifer-type": "sku",
"identifer": "23-TD23-32",
"quantity": 192
}
]
}
Request samples
Responses
Progress In-Action(200)
Error Validation(422)
Progress In-Action
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Example
{
"status": 201,
"success": true,
"data": {
"message": "The details has been queued to update, it may take several minutes to finish the process",
"code": 201
}
}
Modified at 7 days ago