query

promotions

List all promotional offers available for the items in the cart, including details such as offer text, unique promotion ID, and validity period. Either pass slug of the product or pass cart_id.
Arguments
pageSize
Int
Number of offers to fetch. Example: 5
promotionGroup
String
Type of promotion groups. Example: 'flash'
slug
String
A short, human-readable, URL-friendly identifier of a product.
storeId
Int
Unique identifier of a store. Example: 1234
promotionType
String
Type of promotions to fetch. Example: 'payment'
cartId
String
Cart ID of the user cart. Example: '5bb521cfdc83215e1889b346'
autoApply
Boolean
Filter promotions by auto_apply status. Example: true
Response
Query
Loading...
Try it
Input Variables
Loading...
Response
Loading...