v1
latestOpenAPI 3.0.02026-07-26318168886.7 KBProducts
Get Product Promotions
Returns all promotions applicable to a single product for a specific customer and platform.
get/products/{product_id}/promotions
Path parameters
product_idstring required
Product to evaluate promotions for.
Query parameters
platformstring
ec, app, or retail. Default is all platforms
Response
OK
Example response
{
"data": {
"promotions": [
{
"discount_type": "gift",
"available_platforms": [
"ec",
"app",
"retail"
],
"start_at": "2025-06-28T00:00:00Z",
"end_at": "2026-05-08T00:00:00Z",
"id": "60c72b2f9e7f06001c8f9f11",
"title_translations": {
"zh-hant": "消費滿 1000 元送 SHOPLINE 寶寶禮物",
"zh-cn": "消费满 1000 元送 SHOPLINE 宝宝礼物",
"th": "ช้อปครบ 1000 ดอลลาร์ รับของขวัญ SHOPLINE Baby",
"vi": "Chi tiêu trên 1000 đô nhận quà tặng SHOPLINE baby",
"en": "Spend over 1000 dollars to receive a SHOPLINE baby gift"
},
"discount_on": "order"
}
]
}
}