# Calculate quote totals based on address and shipping method **POST /V1/guest-carts/{cartId}/totals-information** Calculate quote totals based on address and shipping method. ## Servers - https://magento2.winkelstraat.mac/rest/all: https://magento2.winkelstraat.mac/rest/all () ## Parameters ### Path parameters - **cartId** (string) ### Body: (object) - **addressInformation** (object) Interface TotalsInformationInterface ## Responses ### 200 200 Success. #### Body: (object) - **grand_total** (number) Grand total in quote currency - **base_grand_total** (number) Grand total in base currency - **subtotal** (number) Subtotal in quote currency - **base_subtotal** (number) Subtotal in base currency - **discount_amount** (number) Discount amount in quote currency - **base_discount_amount** (number) Discount amount in base currency - **subtotal_with_discount** (number) Subtotal in quote currency with applied discount - **base_subtotal_with_discount** (number) Subtotal in base currency with applied discount - **shipping_amount** (number) Shipping amount in quote currency - **base_shipping_amount** (number) Shipping amount in base currency - **shipping_discount_amount** (number) Shipping discount amount in quote currency - **base_shipping_discount_amount** (number) Shipping discount amount in base currency - **tax_amount** (number) Tax amount in quote currency - **base_tax_amount** (number) Tax amount in base currency - **weee_tax_applied_amount** (number) Item weee tax applied amount in quote currency. - **shipping_tax_amount** (number) Shipping tax amount in quote currency - **base_shipping_tax_amount** (number) Shipping tax amount in base currency - **subtotal_incl_tax** (number) Subtotal including tax in quote currency - **base_subtotal_incl_tax** (number) Subtotal including tax in base currency - **shipping_incl_tax** (number) Shipping including tax in quote currency - **base_shipping_incl_tax** (number) Shipping including tax in base currency - **base_currency_code** (string) Base currency code - **quote_currency_code** (string) Quote currency code - **coupon_code** (string) Applied coupon code - **items_qty** (integer) Items qty - **items** (array[object]) Interface TotalsItemInterface - **total_segments** (array[object]) Interface TotalsInterface - **extension_attributes** (object) ExtensionInterface class for @see \Magento\Quote\Api\Data\TotalsInterface ### default Unexpected error #### Body: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace [Powered by Bump.sh](https://bump.sh)