PromotionProductScopeInput
input type
The product-scope input — ≥1 member (sane predicate, unique ids, included∩excluded refused); omit the field to match ALL product lines.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
predicate | CollectionPredicateInput | no | A product rule that selects the matching lines — categories with their subcategories, tags, brands, seasons, divisions, a price bound, characteristic values. |
includedProductIds | ID [ID!] | no | The ids of products that always match, whatever the rule says. |
excludedProductIds | ID [ID!] | no | The ids of products that never match, whatever the rule says — a product cannot be both included and excluded. |
collectionId | ID | no | The id of a collection whose members match. |