PromotionCartConditionsInput
input type
The cart-conditions input — ≥1 member with unique ids.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
minQty | Int | no | The fewest matched units a cart must hold before the promotion fires — a whole number, at least 1. Optional. |
minSubtotalMinor | Int | no | The smallest matched subtotal a cart must reach before the promotion fires, in the minor units of the organization currency. Optional. |
requiredProductIds | ID [ID!] | no | The ids of products that must be in the cart — any one of them suffices. Optional. |
requiredCategoryIds | ID [ID!] | no | The ids of categories that must be in the cart, each with its subcategories — any one of them suffices. Optional. |