Skip to content

PosUpdateCustomerWithPhone

Type: schema

TypeScript Definition

typescript
PosUpdateCustomerWithPhone: {{
            /**
             * @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
             * @default +91
             */
            country_code: string | null;
            /** @description 10 digit phone number without country code. */
            phone: string;
            /** Format: email */
            email?: string | null;
            first_name?: string | null;
            last_name?: string | null;
        };
        /** PosUser */
}

OpenAPI Schema

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

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: