query

offers

List all offers available for the items in the cart, including coupons and promotions. Returns offer details such as offer text, unique offer ID, validity period, and applicability status.
Arguments
mode
String
Type of offer to fetch (promotion or coupon).
The unique identifier of the cart. Example: '5bb521cfdc83215e1889b346'
buyNow
Boolean
Whether to get buy_now cart. Example: false
productSlug
String
Product slug to fetch available offers for. Example: 'nike-air-max-270'
storeId
String
Unique identifier of a store. Example: '12'
Filter by offer type. Example: true
productSize
String
Size of the product for multi-size products when productSlug is provided. Defaults to first size if not provided. Example: 'M'
Response
Query
Loading...
Try it
Input Variables
Loading...
Response
Loading...