Customer Address Collection

CommercePoint-of-SaleRetailRestaurantInventoryLoyaltyPaymentsE-CommerceOmnichannelCanada

Properties

Name Type Description
data array An array of customer address objects.
View JSON Schema on GitHub

JSON Schema

lightspeed-customer-address-collection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed/main/json-schema/lightspeed-customer-address-collection-schema.json",
  "title": "Customer Address Collection",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lightspeed-customer-addresses-api-openapi.yml#/components/schemas/CustomerAddressCollection",
  "properties": {
    "data": {
      "description": "An array of customer address objects.",
      "items": {
        "$ref": "#/$defs/CustomerAddress"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "CustomerAddress": {
      "properties": {
        "address_line_1": {
          "description": "Primary address line (street address, P.O. box, etc.).",
          "maxLength": 50,
          "type": "string"
        },
        "address_line_2": {
          "description": "Secondary address line (apartment, suite, unit, building, floor, etc.).",
          "maxLength": 50,
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "description": "City or town name.",
          "maxLength": 28,
          "type": "string"
        },
        "country_code": {
          "description": "ISO 3166-1 alpha-2 country code (e.g., US, NZ, AU).",
          "type": "string"
        },
        "country_name": {
          "description": "Full country name derived from the country code.",
          "type": "string"
        },
        "created_at": {
          "description": "Creation timestamp in UTC.",
          "format": "date-time",
          "type": "string"
        },
        "customer_id": {
          "description": "The unique identifier of the customer this address belongs to.",
          "format": "uuid",
          "type": "string"
        },
        "id": {
          "description": "Auto-generated address ID.",
          "format": "int64",
          "type": "integer"
        },
        "postcode": {
          "description": "Postal code or ZIP code.",
          "type": "string"
        },
        "state": {
          "description": "State, province, or region name.",
          "maxLength": 35,
          "type": [
            "string",
            "null"
          ]
        },
        "state_code": {
          "description": "State or province code. Required for US and CA.",
          "type": [
            "string",
            "null"
          ]
        },
        "suburb": {
          "description": "Suburb or district.",
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "description": "The type of address.",
          "enum": [
            "BILLING",
            "SHIPPING"
          ],
          "type": "string"
        },
        "updated_at": {
          "description": "Last update timestamp in UTC.",
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "id",
        "customer_id",
        "address_line_1",
        "city",
        "postcode",
        "country_code",
        "type",
        "created_at",
        "updated_at"
      ],
      "title": "Customer Address",
      "type": "object"
    }
  }
}

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/lightspeed-customer-address-collection"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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