Description
Topic: Promotions
Fields
When promotion is applied to order, add this many of add_variant_id to line items
Example: 1
add_variant: ProductVariant
This product variant will be added to the order when promotion triggers
Expandable
Permission bit: "product_variants.read"
Automatically apply this promotion
Example: false
The date and time when the promotion was created
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Currency code
Example: "USD"
Whether this promotion is active or not
Example: false
Whether promotion is ended based on server time
Example: false
The date and time when the promotion will end
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Unique promotion identifier. See also: Unique Identifiers
Example: "pr_EQzGqWoY"
The maximum number of times a promotion may apply to orders
Example: 1
The maximum number of uses per-customer
Example: 1
The maximum number of uses per order
Example: 5
Name of the promotion
Translatable
Priority when automatically applying promotions, higher number takes precedence
Example: 5
rules: [PromotionRule!]!
Possible parameters for this promotion
Whether promotion is started based on server time
Example: false
The date and time when the promotion starts at
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Total number of times this promotion was used by all customers
Example: 0
The date and time when the promotion was updated
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Used By
Mutations
promotionsCreate, promotionsModify
Queries
Types
Order, PromotionExpandableItems, PromotionPage, PromotionSearchResult, UnifiedSearchResult
Preview (typescript)
Loading module