Created
April 18, 2022 18:49
-
-
Save rafmagana/57541006bed0bcff8f26598a053c483f to your computer and use it in GitHub Desktop.
Response of POST /specialresources/cart/calculate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"status": "OK", | |
"data": { | |
"discounts": 0.0, | |
"service_fees": [], | |
"final_total": 7.95, | |
"discounts_list": [], | |
"items": [{ | |
"product": 360, | |
"price": 2.34, | |
"combo_parent_id": null, | |
"product_sub_id": null, | |
"discount": null, | |
"is_combo": false, | |
"modifieritems": [], | |
"is_base_upsell_product": false, | |
"product_name_override": "Iced Coffee", | |
"combo_product_id": "eb5231e8-782c-49ab-94cf-508680f2c111", | |
"discounts": [] | |
}, | |
{ | |
"product": 344, | |
"price": 2.50, | |
"combo_parent_id": null, | |
"product_sub_id": null, | |
"discount": null, | |
"is_combo": false, | |
"modifieritems": [{ | |
"qty_type": 0, | |
"product_id": 344, | |
"mod_type": 0, | |
"modifier_cost": 0.0000, | |
"qty": 1, | |
"modifier": 170, | |
"modifier_price": 0.0 | |
}], | |
"is_base_upsell_product": false, | |
"product_name_override": "Scone", | |
"combo_product_id": "a83bc096-2e7b-4159-9738-a9cabc161d7d", | |
"discounts": [] | |
}, | |
{ | |
"product": 353, | |
"price": 3.00, | |
"combo_parent_id": null, | |
"product_sub_id": null, | |
"discount": null, | |
"is_combo": false, | |
"modifieritems": [{ | |
"qty_type": 0, | |
"product_id": 353, | |
"mod_type": 0, | |
"modifier_cost": 0.0000, | |
"qty": 1, | |
"modifier": 139, | |
"modifier_price": 0.0 | |
}, | |
{ | |
"qty_type": 0, | |
"product_id": 353, | |
"mod_type": 0, | |
"modifier_cost": 0.0000, | |
"qty": 1, | |
"modifier": 141, | |
"modifier_price": 0.0 | |
} | |
], | |
"is_base_upsell_product": false, | |
"product_name_override": "Cappuccino", | |
"combo_product_id": "05e8c14b-abd3-42e1-9640-7f5e60007ff9", | |
"discounts": [] | |
} | |
], | |
"tax": 0.11, | |
"order_discount": null, | |
"subtotal": 7.84, | |
"surcharge": 0.0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment