ライトモード
Update Bulk Product Prices
POST
/products/prices/bulkPrice最終更新: 11 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
Request Bodyパラメータapplication/json
products
array [object {5}]
必須
>= 1 items
price
number
必須
Product Price
サンプル値:
500
cost_price
number
可選
Cost Price
サンプル値:
550
sale_price
number
可選
Sale Price
サンプル値:
600
sale_end
string
可選
Sale price end
サンプル値:
2022-07-30
例
{
"products": [
{
"id": 784769282,
"price": 500,
"cost_price": 550,
"sale_price": 600,
"sale_end": "2022-07-30"
}
]
}
Request samples
Response
Created Successfully(201)
Error Validation(422)
Created Successfully
HTTP Code: 201
Content Type : JSONapplication/json
データ構造
No schema defined
例
{
"status": 201,
"success": true,
"data": {
"message": "The details has been queued to update, it may take several minutes to finish the process.",
"code": 201
}
}
最終更新: 11 days ago