promotions
Create promotion
Create a new promotion with rules and actions for a specific store
POST
Authorizations
Enter your API key as: Bearer your-api-key
Body
application/json
Minimum string length:
1Minimum string length:
1Required range:
x > 0Available options:
AND, OR - Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
Optional. Redeemable codes to create atomically alongside the promotion. Each entry mirrors the POST /promotion-codes/create body (without promotionId, which is inferred). Uniqueness is enforced per store and per batch; a failure on any code rolls back the whole promotion.
Response
Successful response
