Lightspeed · Schema

Customer

A customer record.

Point-of-SaleRetailRestaurantE-Commerce

Properties

Name Type Description
customerID string Unique customer identifier.
firstName string Customer first name.
lastName string Customer last name.
company string Customer company name.
contactID string Identifier of the related contact record.
discountID string Default discount applied to the customer.
taxCategoryID string Tax category for the customer.
Contact object Contact details associated with a customer.
View JSON Schema on GitHub

JSON Schema

retail-r-series-customer-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Customer",
  "description": "A customer record.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed-pos/refs/heads/main/json-schema/retail-r-series-customer-schema.json",
  "type": "object",
  "properties": {
    "customerID": {
      "type": "string",
      "description": "Unique customer identifier."
    },
    "firstName": {
      "type": "string",
      "description": "Customer first name."
    },
    "lastName": {
      "type": "string",
      "description": "Customer last name."
    },
    "company": {
      "type": "string",
      "description": "Customer company name."
    },
    "contactID": {
      "type": "string",
      "description": "Identifier of the related contact record."
    },
    "discountID": {
      "type": "string",
      "description": "Default discount applied to the customer."
    },
    "taxCategoryID": {
      "type": "string",
      "description": "Tax category for the customer."
    },
    "Contact": {
      "type": "object",
      "description": "Contact details associated with a customer.",
      "properties": {
        "contactID": {
          "type": "string",
          "description": "Unique contact identifier."
        },
        "custom": {
          "type": "string",
          "description": "Custom contact field."
        },
        "noEmail": {
          "type": "boolean",
          "description": "Whether the contact opted out of email."
        },
        "noPhone": {
          "type": "boolean",
          "description": "Whether the contact opted out of phone contact."
        },
        "noMail": {
          "type": "boolean",
          "description": "Whether the contact opted out of mail."
        }
      }
    }
  }
}

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/retail-r-series-customer"
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.