string
required
Bearer token with
marketing:write scopestring
required
The promotion ID
Request body
All fields are optional. Only provided fields will be updated.string
Name of the promotion
string
Description of the promotion
string
Type of discount
string
What the promotion applies to
string
Discount value
string
3-letter ISO currency code
string
Promotion status:
draft, scheduled, active, paused, expired, archivedstring
ISO 8601 datetime (or null to remove)
string
ISO 8601 datetime (or null to remove)
integer
Minimum order value in minor units (or null to remove)
integer
Maximum discount in minor units (or null to remove)
integer
Maximum redemptions (or null for unlimited)
array
Product IDs (or null to remove restriction)
array
Category IDs (or null to remove restriction)
array
Collection IDs (or null to remove restriction)
array
Excluded product IDs (or null to remove)
array
Excluded category IDs (or null to remove)
boolean
Whether promotion can be combined
integer
Priority order
object
Custom rules (or null to remove)
object
Custom metadata (or null to remove)
Response
Returns the updated promotion object.Request
Response