Carts

Read a cart

The cart as Layout holds it. totalMinor is the only total, read from the same order Layout's price lock checks; confirm sends it back unchanged.

get/carts/{cartId}

Request

  • Base URL: https://api.layout.link/v1
  • URL: https://api.layout.link/v1/carts/{cartId}
  • Auth: HTTP bearer

Path parameters

cartIdstring required

The crt_ id.

Headers

Layout-Version'2026-10-01'

The API version you code against. Optional; without it you get 2026-10-01, the current version. Layout answers with the version it used.

Response

The cart.

Example response

{
  "cart": {
    "order": {
      "id": "ord_7c21e4b9a0d3"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.