Get ladder offers associated for the items in the cart. Ladder offers provide discounts or special pricing based on item quantity, allowing users to benefit from bulk purchases or promotional deals.
Arguments
slug
String!Required
A short, human-readable, URL-friendly identifier of a product.
storeId
StringStore uid of assigned store on PDP page. If not passed default first created ladder will be returned.
promotionId
StringGet ladder information of given promotion id explicitely.
pageSize
IntNumber of offers to be fetched to show.
Response
available_offers
[LadderPriceOffer]Available ladder promotions offers list.
currency
CurrencyInfoLadder price offers details which includes list of available ladder promotion on product.
Query
1query productLadderPromotion(2 $slug: String!3 $storeId: String4 $promotionId: String5 $pageSize: Int6) {7 productLadderPromotion(8 slug: $slug9 storeId: $storeId10 promotionId: $promotionId11 pageSize: $pageSize12 ) {13 available_offers {14 buy_rules15 calculate_on16 description17 discount_rules18 id19 offer_text20 promotion_group21 valid_till22 promotion_name23 }24 currency {25 code26 symbol27 }28 }29}
Try it
Input Variables
1{2 "slug": "slug",3 "storeId": "storeId",4 "promotionId": "promotionId",5 "pageSize": 426}
Response
1{2 "productLadderPromotion": {3 "available_offers": [4 {5 "buy_rules": {},6 "calculate_on": "calculate_on",7 "description": "A description",8 "discount_rules": [9 {}10 ],11 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",12 "offer_text": "offer_text",13 "promotion_group": "promotion_group",14 "valid_till": "valid_till",15 "promotion_name": "promotion_name"16 }17 ],18 "currency": {19 "code": "code",20 "symbol": "symbol"21 }22 }23}
Was this section helpful?