AlmondTill/G3N API

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

FieldTypeRequiredNotes
predicateCollectionPredicateInputnoA product rule that selects the matching lines — categories with their subcategories, tags, brands, seasons, divisions, a price bound, characteristic values.
includedProductIdsID [ID!]noThe ids of products that always match, whatever the rule says.
excludedProductIdsID [ID!]noThe ids of products that never match, whatever the rule says — a product cannot be both included and excluded.
collectionIdIDnoThe id of a collection whose members match.