string
required
Bearer token with
marketing:write scopeRequest body
string
required
Name of the promotion
string
Description of the promotion
string
required
Type of discount:
percentage, fixed_amount, bogo, bundle, tiered, free_shipping, gift_with_purchasestring
default:"all_products"
What the promotion applies to:
all_products, specific_products, specific_categories, specific_collections, specific_departuresstring
Discount value (percentage or amount depending on type)
string
3-letter ISO currency code for fixed amount discounts
string
default:"draft"
Initial status:
draft, scheduled, active, pausedstring
ISO 8601 datetime when promotion becomes valid
string
ISO 8601 datetime when promotion expires
integer
Minimum order value in minor units (cents) to qualify
integer
Maximum discount amount in minor units (caps percentage discounts)
integer
Maximum number of times promotion can be redeemed
array
Product IDs this promotion applies to (when scope is
specific_products)array
Category IDs this promotion applies to (when scope is
specific_categories)array
Collection IDs this promotion applies to (when scope is
specific_collections)array
Product IDs excluded from this promotion
array
Category IDs excluded from this promotion
boolean
default:"false"
Whether this promotion can be combined with others
integer
default:"0"
Priority order when multiple promotions apply (higher = first)
object
Custom rules configuration
object
Custom metadata
Response
Returns the created promotion object.Request
Response