Returns quote totals data for a specified cart.
/V1/carts/{cartId}/totals
(Required) The cart ID.
<integer>
curl -L \
--url 'http://{{baseurl}}/V1/carts/{cartId}/totals'
{
"weee_tax_applied_amount": 68971384.43162328,
"total_segments": [
{
"code": "in ea",
"value": 84514140.72202402,
"title": "eiusmod eu aliqua adipi",
"area": "labore",
"extension_attributes": {
"tax_grandtotal_details": [
{
"amount": -10300825.505617887,
"rates": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"group_id": -43890642
},
{
"amount": 4800681.295496553,
"rates": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"group_id": 87059814
}
],
"vertex_tax_calculation_messages": [
"velit adipisicing anim",
"Excepteur esse"
]
}
},
{
"code": "commodo",
"value": -86994844.61054063,
"title": "quis",
"area": "sunt in",
"extension_attributes": {
"tax_grandtotal_details": [
{
"amount": -56786609.4061706,
"rates": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"group_id": 1892328
},
{
"amount": -99296441.71968053,
"rates": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"group_id": 17957709
}
],
"vertex_tax_calculation_messages": [
"voluptate amet incididunt",
"amet incididunt ea"
]
}
}
],
"grand_total": -37728961.47428866,
"base_grand_total": 87730538.75951958,
"subtotal": 27234451.43651344,
"base_subtotal": 16612254.03447099,
"discount_amount": 97775867.72772267,
"base_discount_amount": -38534955.151089266,
"subtotal_with_discount": 90855761.32119244,
"base_subtotal_with_discount": -90585677.19296339,
"shipping_amount": -95484852.18698026,
"base_shipping_amount": -32736558.694338843,
"shipping_discount_amount": 15550907.473623484,
"base_shipping_discount_amount": -45045568.59053173,
"tax_amount": -98805389.47726913,
"base_tax_amount": 81045752.25614282,
"shipping_tax_amount": -13645095.997516558,
"base_shipping_tax_amount": 74437902.2782931,
"subtotal_incl_tax": -10595057.022483885,
"base_subtotal_incl_tax": 39407409.14714405,
"shipping_incl_tax": -71891374.47782543,
"base_shipping_incl_tax": -18442442.95978719,
"base_currency_code": "elit id eu",
"quote_currency_code": "Excepteur laborum",
"coupon_code": "amet ex",
"items_qty": -32813898,
"items": [
{
"item_id": -58965886,
"price": 1319153.915996328,
"base_price": -54126045.99260766,
"qty": 77189076.45522654,
"row_total": -68053887.34062779,
"base_row_total": -68129975.42806292,
"options": "anim deserunt velit",
"weee_tax_applied_amount": 86976654.02596,
"weee_tax_applied": "ullamco qui tempor",
"row_total_with_discount": 38554252.23716572,
"tax_amount": 97475803.84452137,
"base_tax_amount": -77837627.68231486,
"tax_percent": 84038491.40146971,
"discount_amount": -24222393.30245413,
"base_discount_amount": 71121215.68023255,
"discount_percent": -60369641.140829876,
"price_incl_tax": 37670345.02928731,
"base_price_incl_tax": 43218551.433410525,
"row_total_incl_tax": -72236661.51836397,
"base_row_total_incl_tax": 80373301.73209,
"extension_attributes": {},
"name": "dolore fugiat sunt"
},
{
"item_id": 48939326,
"price": -11203083.754966319,
"base_price": -32783265.91261904,
"qty": 12232457.720408484,
"row_total": 28854631.299102128,
"base_row_total": 56100895.802333325,
"options": "officia dolo",
"weee_tax_applied_amount": -54136868.47065824,
"weee_tax_applied": "enim aliquip ullamco laborum",
"row_total_with_discount": -36578011.224106535,
"tax_amount": -49496556.1109419,
"base_tax_amount": -46540636.06429198,
"tax_percent": -29778091.034562066,
"discount_amount": -15764386.07136698,
"base_discount_amount": -86403976.01171364,
"discount_percent": -37731781.13630853,
"price_incl_tax": 73967244.72639483,
"base_price_incl_tax": -51139300.99494559,
"row_total_incl_tax": 24966903.707371518,
"base_row_total_incl_tax": 92873737.04521066,
"extension_attributes": {},
"name": "esse mollit"
}
],
"extension_attributes": {
"coupon_label": "anim nulla est"
}
}
OK