ReDoc documentation

carts/mine/totals-information

carts/mine/totals-information

post/V1/carts/mine/totals-information

Calculate quote totals based on address and shipping method.

Request
Request Body schema:
required
object (checkout-data-totals-information-interface)

Interface TotalsInformationInterface

Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "addressInformation": {
    }
}
Response samples
{
  • "grand_total": 0,
  • "base_grand_total": 0,
  • "subtotal": 0,
  • "base_subtotal": 0,
  • "discount_amount": 0,
  • "base_discount_amount": 0,
  • "subtotal_with_discount": 0,
  • "base_subtotal_with_discount": 0,
  • "shipping_amount": 0,
  • "base_shipping_amount": 0,
  • "shipping_discount_amount": 0,
  • "base_shipping_discount_amount": 0,
  • "tax_amount": 0,
  • "base_tax_amount": 0,
  • "weee_tax_applied_amount": 0,
  • "shipping_tax_amount": 0,
  • "base_shipping_tax_amount": 0,
  • "subtotal_incl_tax": 0,
  • "base_subtotal_incl_tax": 0,
  • "shipping_incl_tax": 0,
  • "base_shipping_incl_tax": 0,
  • "base_currency_code": "string",
  • "quote_currency_code": "string",
  • "coupon_code": "string",
  • "items_qty": 0,
  • "items": [
    ],
  • "total_segments": [
    ],
  • "extension_attributes": {
    }
}