Response
success
BooleanSuccess flag of get payment offers API response.
promotions
[PromotionPaymentOffer]List of promotions data which are applicable on cart/product.
Query
1query promotionPaymentOffers($id: String, $uid: Int) {2 promotionPaymentOffers(id: $id, uid: $uid) {3 success4 promotions {5 application_id6 buy_rules7 calculate_on8 description9 discount_rules10 id11 offer_text12 promotion_group13 promotion_type14 promotion_name15 }16 }17}
Try it
Input Variables
1{2 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",3 "uid": 424}
Response
1{2 "promotionPaymentOffers": {3 "success": true,4 "promotions": [5 {6 "application_id": "application_id",7 "buy_rules": {},8 "calculate_on": "calculate_on",9 "description": "A description",10 "discount_rules": {},11 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",12 "offer_text": "offer_text",13 "promotion_group": "promotion_group",14 "promotion_type": "promotion_type",15 "promotion_name": "promotion_name"16 }17 ]18 }19}
Was this section helpful?