Create a new promotion with rules and actions for a specific store.
Rules define conditions that must be met for the promotion to apply:
ContainsProduct: Cart must contain a specific productOrderAmountMinimum: Order must meet a minimum amountOrderMinQuantity: Order must have a minimum number of itemsActions define what happens when conditions are met:
LineItemAdjustment: Percentage or fixed amount discount on specific line itemsOrderAdjustment: Percentage or fixed amount discount on the entire orderShippingAdjustment: Free shippingCreateLineItem: Add a free product to the cartSubscriptionLineItemFreeTrial: Grant a free trial on a subscriptionEnter your API key as: Bearer your-api-key
The store ID to create the promotion for
1Name of the promotion
1Coupon code for the promotion (null for automatic promotions)
Whether the promotion applies automatically without a code
Whether the promotion is active
Maximum number of times the promotion can be used (null for unlimited)
Start date of the promotion
End date of the promotion
Logical operator applied between rules
AND, OR Whether this promotion can combine with order-level discounts
Whether this promotion can combine with line-item discounts
Whether this promotion can combine with shipping discounts
Force combination with other promotions regardless of settings
Conditions that must be met for the promotion to apply
Effects applied when the promotion conditions are met
Successful response