{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rutter/json-schema/rutter-acpupdate-checkout-session-request-schema.json",
  "title": "ACPUpdateCheckoutSessionRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rutter-acp-api-openapi.yml#/components/schemas/ACPUpdateCheckoutSessionRequest",
  "type": "object",
  "properties": {
    "fulfillment_option_id": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "quantity": {
            "type": "integer",
            "exclusiveMinimum": true,
            "minimum": 0
          }
        },
        "required": [
          "id",
          "quantity"
        ],
        "additionalProperties": false
      }
    },
    "buyer": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "format": "email",
          "maxLength": 256
        },
        "name": {
          "type": "string",
          "maxLength": 256
        },
        "phone_number": {
          "type": "string"
        }
      },
      "required": [
        "email",
        "name"
      ],
      "additionalProperties": false
    },
    "fulfillment_address": {
      "type": "object",
      "properties": {
        "city": {
          "type": "string",
          "maxLength": 60
        },
        "country": {
          "type": "string"
        },
        "line_one": {
          "type": "string",
          "maxLength": 60
        },
        "name": {
          "type": "string",
          "maxLength": 256
        },
        "postal_code": {
          "type": "string",
          "maxLength": 20
        },
        "state": {
          "type": "string"
        },
        "line_two": {
          "type": "string",
          "maxLength": 60
        },
        "phone_number": {
          "type": "string"
        }
      },
      "required": [
        "city",
        "country",
        "line_one",
        "name",
        "postal_code",
        "state"
      ],
      "additionalProperties": false
    }
  }
}