v1
latestOpenAPI 3.0.02026-07-26318168886.7 KBAddon Products
Get Addon Product
To get detailed information for a specific addon product with its ID<br>使用加購品ID獲取特定一個商品的詳細資料
get/addon_products/{id}
Path parameters
idstring required
AddonProduct's ID<br>加購品ID
Response
OK
Example response
{
"id": "5892d8679f9a4fc07b008295",
"status": "draft",
"title_translations": {
"en": "Addon Products",
"zh-hant": "加購品"
},
"weight": 10.2,
"quantity": 10,
"medias": {
"id": "5f8e5dc08a8bb70a5c9cd93c",
"alt_translations": {
"en": "Image ALT",
"zh-hant": "圖片ALT"
},
"images": {
"original": {
"width": 800,
"height": 800,
"url": "https://img.example.com/media/1234/thumb.jpg"
}
}
},
"sku": "addon_product_sku",
"created_at": "2019-12-30T09:16:46.142+00:00",
"promotions": [
{
"discounted_price": {
"cents": 999999999,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$999,999,999",
"dollars": 999999999
},
"start_at": "2020-07-09T04:00:00.000+00:00",
"end_at": "2020-07-09T04:00:00.000+00:00"
}
]
}