Bearer token with
marketing:write scopeThe promotion ID
Request body
All fields are optional. Only provided fields will be updated.Name of the promotion
Description of the promotion
Type of discount
What the promotion applies to
Discount value
3-letter ISO currency code
Promotion status:
draft, scheduled, active, paused, expired, archivedISO 8601 datetime (or null to remove)
ISO 8601 datetime (or null to remove)
Minimum order value in minor units (or null to remove)
Maximum discount in minor units (or null to remove)
Maximum redemptions (or null for unlimited)
Product IDs (or null to remove restriction)
Category IDs (or null to remove restriction)
Collection IDs (or null to remove restriction)
Excluded product IDs (or null to remove)
Excluded category IDs (or null to remove)
Whether promotion can be combined
Priority order
Custom rules (or null to remove)
Custom metadata (or null to remove)
Response
Returns the updated promotion object.Request
Response
Errors
| Status | Error | Description |
|---|---|---|
| 400 | No fields to update | Request body is empty |
| 404 | Promotion not found | No promotion exists with the given ID |