Maginium
Admin Api
Admin Api
  • About
  • API reference
    • CustomerGroups
      • Permissions
      • Default
      • Search
    • Customers
      • Confirm
      • BillingAddress
      • ShippingAddress
      • Carts
      • Me
        • Activate
        • Password
        • BillingAddress
        • ShippingAddress
      • Search
      • Activate
      • Password
        • ResetLinkToken
      • ResetPassword
      • Validate
      • IsEmailAvailable
      • Addresses
      • Permissions
        • Readonly
    • CmsPage
      • Search
    • CmsBlock
      • Search
    • Products
      • Media
        • Types
      • Options
        • Types
      • Links
        • Types
        • Attributes
      • Websites
      • Downloadable links
        • Samples
      • Attributes
        • Options
        • Types
      • Attribute sets
        • Attributes
        • Groups
          • List
        • Sets
          • List
      • Tier prices
      • Types
      • Tier prices information
      • Tier prices delete
      • Base prices information
      • Base prices
      • Cost information
      • Cost
      • Cost delete
      • Special price information
      • Special price
      • Special price delete
      • StockItems
      • Group prices
        • Tiers
          • Price
    • Categories
      • Attributes
        • Options
      • Products
      • Move
      • List
    • StockItems
      • LowStock
        • /
    • Carts
      • Items
      • Selected payment method
      • Billing address
      • Coupons
      • Gift message
      • Order
      • Shipping methods
      • Estimate shipping methods by address id
      • Estimate shipping methods
      • Payment methods
      • Totals
      • Shipping information
      • Totals information
      • Mine
        • Items
        • Selected payment method
        • Billing address
        • Coupons
        • Payment information
        • Gift message
        • Order
        • Shipping methods
        • Estimate shipping methods by address id
        • Estimate shipping methods
        • Payment methods
        • Totals
        • Collect totals
        • Shipping information
        • Totals information
        • Set payment information
      • Licence
        • List
      • /
      • Search
    • Guest carts
      • Items
      • Selected payment method
      • Billing address
      • Coupons
      • Payment information
      • Gift message
      • Order
      • Shipping methods
      • Estimate shipping methods
      • Payment methods
      • Collect totals
      • Totals
      • Shipping information
      • Totals information
      • Set payment information
    • Orders
      • Comments
      • Statuses
      • Cancel
      • Emails
      • Hold
      • Unhold
      • Items
      • Create
    • Invoices
      • Comments
      • Emails
      • Void
      • Capture
      • /
    • Creditmemo
      • Comments
      • Emails
      • Refund
    • Shipment
      • Comments
      • Emails
      • Label
      • Track
      • /
    • Transactions
    • TaxRates
      • Search
    • TaxRules
      • Search
    • TaxClasses
      • Search
    • SalesRules
      • Search
    • Coupons
      • Search
      • Generate
      • DeleteByIds
      • DeleteByCodes
    • Bulk
      • Detailed status
      • Status
      • Operation status
    • Modules
    • Search
    • Addresses
    • Products render info
    • StockStatuses
    • Creditmemos
    • Shipments
    • Amazon shipping address
    • Amazon billing address
    • Store
      • StoreViews
      • StoreGroups
      • Websites
      • StoreConfigs
    • Adobestock
      • Asset
        • Search
        • List
      • Search
    • Directory
      • Countries
      • Currency
    • Eav
      • Attribute sets
        • List
    • AttributeMetadata
      • Customer
        • Attribute
        • Form
        • Custom
      • CustomerAddress
        • Attribute
        • Form
        • Custom
    • Bundle products
      • Links
      • Options
        • Children
        • All
        • Types
        • Add
      • Children
    • Order
      • Refund
      • Ship
      • Invoice
      • Notify orders are ready for pickup
    • Configurable products
      • Children
      • Options
        • All
      • Child
      • Variation
    • Inventory
      • Sources
      • Stocks
      • Stock source links
      • Source items
      • Low quantity notification
      • Get sources assigned to stock ordered by priority
      • Stock source links delete
      • Source items delete
      • Bulk product source assign
      • Bulk product source unassign
      • Bulk product source transfer
      • Bulk partial source transfer
      • Get distance provider code
      • Get distance
      • Get latlng from address
      • Get latslngs from address
      • Export stock salable qty
      • Dump stock index data
      • Get product salable quantity
      • Is product salable
      • Are products salable
      • Is product salable for requested qty
      • Stock resolver
      • Source selection algorithm list
      • Source selection algorithm result
      • Low quantity notifications delete
      • Are product salable for requested qty
        • /
      • In store pickup
        • Pickup locations
          • /
    • Invoice
      • Refund
    • Analytics
      • Link
    • Amazon
      • Order ref
    • Applepay
      • Auth
    • Address
      • Cleanse
    • Guest address
      • Cleanse
    • Vertex address validation
      • Vertex address
    • Integration
      • Admin
        • Token
      • Customer
        • Token
Powered by GitBook
On this page
  1. API reference
  2. Carts

Totals

PreviousPayment methodsNextShipping information

quote Cart Total Repository V1Get Get

get

Returns quote totals data for a specified cart.

Path parameters
cartIdstringRequired

(Required) The cart ID.

Example: <integer>
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
GET /V1/carts/{cartId}/totals HTTP/1.1
Host: {{baseurl}}
Accept: */*
{
  "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"
  }
}