Update Promotion Tier

This method updates a promotion tier.

Path Params
string
required

Unique promotion tier ID.

Body Params
string

Name of the promotion tier.

string

Text to be displayed to your customers on your website.

action
object

Contains details about the discount applied by the promotion tier.

metadata
object

The metadata object stores all custom attributes assigned to the promotion tier. A set of key/value pairs that you can attach to a promotion tier object. It can be useful for storing additional information about the promotion tier in a structured format.

integer

The promotions hierarchy defines the order in which the discounts from different tiers will be applied to a customer's order. If a customer qualifies for discounts from more than one tier, discounts will be applied in the order defined in the hierarchy.

date-time

Activation timestamp defines when the promotion tier starts to be active in ISO 8601 format. Promotion tier is inactive before this date.

date-time

Activation timestamp defines when the promotion tier expires in ISO 8601 format. Promotion tier is inactive after this date.

validity_timeframe
object

Set recurrent time periods when the earning rule is valid. For example, valid for 1 hour every other day.start_date required when including the validity_timeframe.

validity_day_of_week
array of integers

Integer array corresponding to the particular days of the week in which the voucher is valid.

  • 0 Sunday
  • 1 Monday
  • 2 Tuesday
  • 3 Wednesday
  • 4 Thursday
  • 5 Friday
  • 6 Saturday
Validity Day Of Week
validity_hours
object

Determines the hours of validity, e.g. to create a happy hours scenario.

validation_rule_assignments
object

Validation Rule Assignments List

string

Assign a new or update the promotion tier's category using name.

string

Assign a new or update the promotion tier's category using id

Response

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