Skip to content

PosUpdateCustomerWithEmail ​

Type: schema

TypeScript Definition ​

typescript
PosUpdateCustomerWithEmail: {{
            /** Format: email */
            email: string;
            /** @description 10 digit phone number without country code. */
            phone?: string;
            /**
             * @description Country calling code: one to four digits, with an optional leading plus sign. Defaults to +91.
             * @example +91
             */
            country_code?: string;
            first_name?: string;
            last_name?: string;
        };
        /** UpdateCustomerWithId */
}

OpenAPI Schema ​

json
{
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "format": "email"
    },
    "phone": {
      "description": "10 digit phone number without country code.",
      "type": "string",
      "maxLength": 10,
      "minLength": 1,
      "pattern": "\\S"
    },
    "country_code": {
      "description": "Country calling code: one to four digits, with an optional leading plus sign. Defaults to +91.",
      "type": "string",
      "example": "+91",
      "maxLength": 5,
      "pattern": "^\\+?\\d{1,4}$"
    },
    "first_name": {
      "type": "string",
      "minLength": 1,
      "pattern": "\\S"
    },
    "last_name": {
      "type": "string",
      "minLength": 1,
      "pattern": "\\S"
    }
  },
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/admin-pos/schemas/PosUpdateCustomerWithEmail"
  },
  "required": [
    "email"
  ],
  "title": "UpdateCustomerWithEmail"
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: