---
title: Model: totals
slug: cms-12/api/model-totals
docTags: 
createdAt: 2026-09-10T18:03:26.798Z
---

### Code examples

```json
{
  "total": "",
  "subTotal": "",
  "shippingTotal": "",
  "handlingTotal": "",
  "taxTotal": "",
  "discountTotal": "",
  "shippingTotals": [
    {
      "shipmentId": "",
      "shippingCost": "",
      "shippingTax": "",
      "itemsTotal": "",
      "lineItemPrices": [
        {
          "lineItemId": "",
          "extendedPrice": "",
          "discountedPrice": ""
        }
      ]
    }
  ]
}
```
