Skip to content

PosUpdateCustomerWithEmail

Type: schema

TypeScript Definition

typescript
PosUpdateCustomerWithEmail: {{
            /** Format: email */
            email: string;
            /** @description 10 digit phone number without country code. */
            phone?: string | null;
            /**
             * @description Two-letter code begin with a plus sign prefix that identifies different countries.
             * @example +91
             */
            country_code?: string | null;
            first_name?: string | null;
            last_name?: string | null;
        };
        /** UpdateCustomerWithId */
}

OpenAPI Schema

json
{
  "title": "UpdateCustomerWithEmail",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/PosUpdateCustomerWithEmail",
    "description": "API reference for the PosUpdateCustomerWithEmail schema"
  },
  "required": [
    "email"
  ],
  "properties": {
    "email": {
      "type": "string",
      "format": "email"
    },
    "phone": {
      "description": "10 digit phone number without country code.",
      "type": [
        "string",
        "null"
      ]
    },
    "country_code": {
      "description": "Two-letter code begin with a plus sign prefix that identifies different countries.",
      "type": [
        "string",
        "null"
      ],
      "example": "+91"
    },
    "first_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "last_name": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: