v1
latestOpenAPI 3.0.02026-07-26318168886.7 KBAddon Products
Update Addon Product Stock
To update the addon product stock with its ID<br> 使用商品 ID 更新加購品在各個倉庫的庫存
put/addon_products/{id}/stocks
Path parameters
idstring required
Addon Product ID<br>加購品ID
Request body
Example request
{
"warehouse_id": "5ee819deab591e00169a4618",
"quantity": 21
}Response
OK
Example response
{
"id": "5d3594c276e7ec003b7021c0",
"title_translations": {
"en": "testing SL-8049",
"zh-hant": "測試 SL-8049 round 2"
},
"variations": {
"fields_translations": {
"en": [
"Red",
"M"
],
"zh-hant": [
"紅",
"中"
]
}
}
}