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

### Code examples

```json
{
  "cart": {
    "id": "",
    "name": "",
    "customerId": "",
    "market": "",
    "currency": "",
    "lastUpdated": "",
    "shipments": [
      {
        "id": "",
        "shippingAddress": {
          "firstName": "",
          "lastName": "",
          "line1": "",
          "line2": "",
          "city": "",
          "countryName": "",
          "countryCode": "",
          "postalCode": "",
          "regionName": "",
          "email": "",
          "phoneNumber": "",
          "name": ""
        },
        "shippingMethodId": "",
        "lineItems": [
          {
            "id": "",
            "contentId": "",
            "code": "",
            "placedPrice": "",
            "quantity": "",
            "displayName": "",
            "isGift": false
          }
        ]
      }
    ],
    "payments": [
      {
        "amount": "",
        "authorizationCode": "",
        "billingAddress": {
          "firstName": "",
          "lastName": "",
          "line1": "",
          "line2": "",
          "city": "",
          "countryName": "",
          "countryCode": "",
          "postalCode": "",
          "regionName": "",
          "email": "",
          "phoneNumber": "",
          "name": ""
        },
        "savedBillingAddressName": "",
        "customerName": "",
        "paymentId": "",
        "systemKeyword": "",
        "paymentType": "",
        "providerTransactionID": "",
        "status": "",
        "transactionID": "",
        "transactionType": "",
        "validationCode": "",
        "extendedProperties": [
          {
            "name": "",
            "value": ""
          }
        ]
      }
    ],
    "couponCodes": [
      ""
    ]
  },
  "totals": {
    "total": "",
    "subTotal": "",
    "shippingTotal": "",
    "handlingTotal": "",
    "taxTotal": "",
    "discountTotal": "",
    "shippingTotals": [
      {
        "shipmentId": "",
        "shippingCost": "",
        "shippingTax": "",
        "itemsTotal": "",
        "lineItemPrices": [
          {
            "lineItemId": "",
            "extendedPrice": "",
            "discountedPrice": ""
          }
        ]
      }
    ]
  },
  "availableShippingMethods": [
    {
      "shipmentId": "",
      "id": "",
      "displayName": "",
      "price": ""
    }
  ],
  "validationIssues": [
    {
      "contentId": "",
      "code": "",
      "validationIssues": [
        ""
      ]
    }
  ]
}
```
