Update Product Promotion

Update loyalty product promotion

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

ID of promotion to update

Body Params
string
required

Identifier used to differentiate different applications api is used in

boolean

Should promotion be enabled

string

Promotion title

string | null

Promotion description

date

Promotion start date

date

Promotion end date

earn_types
array of strings

Enable promotion for specified Earn types (store_order, store_review, product_question_answer).

earn_types
channels
array of strings | null

Replace the channel restriction for this promotion. A non-empty array restricts the promotion to those channels; an empty array clears the restriction. Omit the field to leave the existing configuration unchanged.

channels
boolean
Defaults to false

Use custom product points instead of multiplier (can be enabled only for "products" Promotion type)

number

Promotion multiplier. From 0x to 50x.

number

Product custom points (used instead of multiplier when custom_points is enabled)

boolean
Defaults to false

Ignore the earn rule's category/brand restrictions so the promotion's products earn points even when they fall outside the allowed categories or brands (can be enabled only for "products" Promotion type)

products
array

Products IDs that promotion will be applied to (only if type is products)

products
categories
array

Categories names that promotion will be applied to (only if type is categories)

categories
brands
array

Brands names that promotion will be applied to (only if type is brands)

brands
Responses

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