v1
latestOpenAPI 3.0.02026-07-26318168886.7 KBGifts
Get Gift Stocks
To get stock information for a specific gift with its ID<br> 使用商品 ID 獲取特定一個贈品的庫存資料
get/gifts/{id}/stocks
Path parameters
idstring required
Gift ID<br>贈品ID
Query parameters
excludes[]string[]
Could exclude certain parameters in the response<br>結果要排除哪些參數
[ "items.status" ]
fields[]string[]
Could only show certain parameters in the response<br>結果只顯示哪些參數
[ "items.status" ]
Response
OK
Example response
{
"id": "5d3594c276e7ec003b7021c0",
"stocks": [
{
"warehouse_id": "5ee819deab591e00169a4618",
"quantity": 15
}
]
}