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
StringType of offer to fetch (promotion or coupon).
id
StringThe unique identifier of the cart. Example: '5bb521cfdc83215e1889b346'
buyNow
BooleanWhether to get buy_now cart. Example: false
productSlug
StringProduct slug to fetch available offers for. Example: 'nike-air-max-270'
storeId
StringUnique identifier of a store. Example: '12'
type
BooleanFilter by offer type. Example: true
productSize
StringSize of the product for multi-size products when productSlug is provided. Defaults to first size if not provided. Example: 'M'
Response
Query
Try it
Input Variables
Response