Update Promotion

To update detailed information of couple promotions
更新優惠活動

* Cannot update the conditions
Updating promotion condition requires the condition id .
Providing the condition id will NOT update the condition.
Need endpoints for create and update condition.
* 不能更新活動條件
更新活動的條件須要 condition id.
但提供 condition id 不會 更新條件的值。
需要建立和更新 條件 的功能。

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Promotion ID
優惠活動ID

Body Params

Payload for updating promotion

title_translations
object

Title translations
標題翻譯

discountable_product_ids
array of strings

Ids of Discounted product
指定商品ids

discountable_product_ids
discountable_category_ids
array of strings

Ids of Discounted category
指定商品分類ids

discountable_category_ids
boolean

Is bundle pricing or bundle pricing accumulated?
任選優惠/A+B組合優惠是否累計

boolean

Does it require membership?
設定目標群組
-
false: 所有顧客
true: 會員

whitelisted_membership_tier_ids
array of strings

Specific Membership Tiers
適用會員等級

whitelisted_membership_tier_ids
whitelisted_tag_contents
array of strings
whitelisted_tag_contents
integer

Limit per member
每會員最多使用次數
-
null = Unlimited 不限使用次數

conditions
array of objects
conditions
benefit_tiers
array of objects
benefit_tiers
boolean
integer

How many times can this promotion be used?
活動限使用次數
-
null = Unlimited 不限使用次數

string

Promotion start time
活動開始時間

string

Promotion end time
活動結束時間
-
null = no end date 永不過期

whitelisted_delivery_option_ids
array of strings

Delivery options that applicable to the promotion
活動適用送貨方式

whitelisted_delivery_option_ids
whitelisted_payment_ids
array of strings

Payment options that applicable to the promotion
活動適用付款方式

whitelisted_payment_ids
banner_media_ids
array of strings
banner_media_ids
boolean

Generate promotion page and SEO sitemap or not

seo_title_translations
object

Title of SEO
SEO優化標題

seo_description_translations
object

Description of SEO
SEO優化描述

string

SEO keywords
SEO 關鍵字

term_translations
object

Can be updated when discount_on is item or category

addon_products
array of objects
addon_products
gifts
array of objects
gifts
Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json