Lightspeed · JSON Structure

Restaurant K Series Ape Customer Info Structure

apeCustomerInfo schema from Lightspeed Restaurant K Series API

Type: object Properties: 9 Required: 1
POSRetailRestaurantEcommerce

apeCustomerInfo is a JSON Structure definition published by Lightspeed, describing 9 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

firstName lastName thirdPartyReference email contactNumberAsE164 notes salutation sendEmailReceipts emailNotification

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed-pos/refs/heads/main/json-structure/restaurant-k-series-ape-customer-info-structure.json",
  "name": "apeCustomerInfo",
  "description": "apeCustomerInfo schema from Lightspeed Restaurant K Series API",
  "type": "object",
  "properties": {
    "firstName": {
      "example": "Jane",
      "description": "Customer first name.",
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "lastName": {
      "example": "Doe",
      "description": "Customer last name.",
      "type": "string"
    },
    "thirdPartyReference": {
      "example": "ZEN-7074522d-c71d-403f",
      "type": "string",
      "description": "The unique reference for this customer which can help to identify them later on. If the email is left empty, this should be empty as well."
    },
    "email": {
      "example": "jane.doe@example.com",
      "description": "The email address for this customer.",
      "type": "string"
    },
    "contactNumberAsE164": {
      "example": "+14155552671",
      "description": "The customer phone number in E164 format.",
      "type": "string"
    },
    "notes": {
      "example": "Notes about the customer.",
      "description": "The notes attached to the customer.",
      "type": "string"
    },
    "salutation": {
      "example": "Mr.",
      "description": "Salutation for the customer (Mr., Mrs., Dr., etc...).",
      "type": "string"
    },
    "sendEmailReceipts": {
      "example": true,
      "description": "Default value of emailNotification setting for new customers",
      "type": "boolean"
    },
    "emailNotification": {
      "default": "DONT_CHANGE",
      "description": "Update the customer email notification setting. For example, sendEmailReceipts = true, emailNotification = DONT_CHANGE - sends receipt email for all users who haven't disabled it in the Backoffice. sendEmailReceipts = false, emailNotification = DONT_CHANGE - will not send receipt email for all users except those who enabled it in the Backoffice",
      "enum": [
        "ENABLE",
        "DISABLE",
        "DONT_CHANGE"
      ],
      "type": "string"
    }
  },
  "required": [
    "firstName"
  ]
}