NCR · Schema

Cart

Cart schema from NCR Voyix Commerce Platform APIs

RestaurantRetailBankingATMPoint of SaleCommerceFortune 500

Properties

Name Type Description
cartId string
status string
items array
totals object
View JSON Schema on GitHub

JSON Schema

ncr-voyix-commerce-platform-cart-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Cart",
  "description": "Cart schema from NCR Voyix Commerce Platform APIs",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ncr/refs/heads/main/json-schema/ncr-voyix-commerce-platform-cart-schema.json",
  "type": "object",
  "properties": {
    "cartId": {
      "type": "string",
      "example": "cart-a1b2c3d4"
    },
    "status": {
      "type": "string",
      "example": "ACTIVE"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CartLine"
      }
    },
    "totals": {
      "type": "object",
      "properties": {
        "total": {
          "type": "number",
          "format": "double"
        },
        "currency": {
          "type": "string",
          "example": "USD"
        }
      }
    }
  }
}