v1
latestOpenAPI 3.0.02026-07-26318168886.7 KBAddon Products
Get Addon Product Stocks
To get stock information for a specific addon product with its ID<br> 使用商品 ID 獲取特定一個加購品的庫存資料
get/addon_products/{id}/stocks
Path parameters
idstring required
Addon Product 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
}
]
}