Modo Claro
Update Bulk Product Prices
POST
/products/prices/bulkPriceLast modified: 17 days ago
This endpoint allows you to update unlimited bulk products' prices by providing the IDs of the products and the price amounts to be updated.
Request
Parâmetros Bodyapplication/json
products
array [object {5}]
requerido
>= 1 items
price
number
requerido
Product Price
Exemplo:
500
cost_price
number
opcional
Cost Price
Exemplo:
550
sale_price
number
opcional
Sale Price
Exemplo:
600
sale_end
string
opcional
Sale price end
Exemplo:
2022-07-30
Exemplo
{
"products": [
{
"id": 784769282,
"price": 500,
"cost_price": 550,
"sale_price": 600,
"sale_end": "2022-07-30"
}
]
}
Request samples
Respostas
Created Successfully(201)
Error Validation(422)
Created Successfully
HTTP Code: 201
Content Type : JSONapplication/json
Esquema de Dados
No schema defined
Exemplo
{
"status": 201,
"success": true,
"data": {
"message": "The details has been queued to update, it may take several minutes to finish the process.",
"code": 201
}
}
Last modified: 17 days ago