Synchronity · Schema

AMPSCart

Commerce InfrastructureAI AssistantStorefront IntegrationIdentity TokensHuman DelegationUnified Gateway

Properties

Name Type Description
cart_id string
site_id string
items array
subtotal object
discounts array
total object
currency string
expires_at string
checkout_mode string Present when the store hosts checkout (e.g. Shopify): the client shows a 'Continue to checkout' handoff to checkout_url instead of a cart-stage shipping/payment flow.
checkout_url string Hosted-checkout URL for redirect-mode stores.
View JSON Schema on GitHub

JSON Schema

synchronity-app-ampscart-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/synchronity-app/json-schema/synchronity-app-ampscart-schema.json",
  "title": "AMPSCart",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/synchronity-app-openapi.yml#/components/schemas/AMPSCart",
  "type": "object",
  "required": [
    "cart_id",
    "site_id",
    "items",
    "subtotal",
    "total",
    "currency",
    "expires_at"
  ],
  "properties": {
    "cart_id": {
      "type": "string"
    },
    "site_id": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AMPSCartItem"
      }
    },
    "subtotal": {
      "$ref": "#/$defs/MonetaryAmount"
    },
    "discounts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AMPSDiscount"
      }
    },
    "total": {
      "$ref": "#/$defs/MonetaryAmount"
    },
    "currency": {
      "type": "string",
      "pattern": "^[A-Z]{3}$"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time"
    },
    "checkout_mode": {
      "type": "string",
      "enum": [
        "redirect"
      ],
      "description": "Present when the store hosts checkout (e.g. Shopify): the client shows a 'Continue to checkout' handoff to checkout_url instead of a cart-stage shipping/payment flow."
    },
    "checkout_url": {
      "type": "string",
      "format": "uri",
      "description": "Hosted-checkout URL for redirect-mode stores."
    }
  },
  "$defs": {
    "AMPSCartItem": {
      "type": "object",
      "required": [
        "item_id",
        "product_id",
        "title",
        "quantity",
        "unit_price",
        "line_total"
      ],
      "properties": {
        "item_id": {
          "type": "string"
        },
        "product_id": {
          "type": "string"
        },
        "variant_id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "quantity": {
          "type": "integer",
          "minimum": 1
        },
        "unit_price": {
          "$ref": "#/$defs/MonetaryAmount"
        },
        "line_total": {
          "$ref": "#/$defs/MonetaryAmount"
        },
        "image_url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri",
          "description": "Product image for the cart line."
        }
      }
    },
    "AMPSDiscount": {
      "type": "object",
      "required": [
        "code",
        "amount"
      ],
      "properties": {
        "code": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "amount": {
          "$ref": "#/$defs/MonetaryAmount"
        }
      }
    },
    "MonetaryAmount": {
      "type": "object",
      "required": [
        "amount",
        "currency"
      ],
      "properties": {
        "amount": {
          "type": "string",
          "pattern": "^\\d+\\.\\d{2}$",
          "description": "Decimal string with exactly 2 decimal places."
        },
        "currency": {
          "type": "string",
          "pattern": "^[A-Z]{3}$",
          "description": "ISO 4217 currency code."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/synchronity-app-ampscart"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.