v1
latestOpenAPI 3.0.02026-07-26318168886.7 KBGifts
Update Gift Stock
To update the gift stock with its ID<br> 使用商品 ID 更新贈品在各個倉庫的庫存
put/gifts/{id}/stocks
Path parameters
idstring required
Gift 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": [
"紅",
"中"
]
}
}
}