PosUpdateCustomerWithPhone
Type: schema
TypeScript Definition
typescript
PosUpdateCustomerWithPhone: {{
/**
* @description Country calling code: one to four digits, with an optional leading plus sign. Defaults to +91.
* @default +91
*/
country_code?: string;
/** @description 10 digit phone number without country code. */
phone: string;
/** Format: email */
email?: string;
first_name?: string;
last_name?: string;
};
/** PosUser */
}OpenAPI Schema
json
{
"type": "object",
"properties": {
"country_code": {
"description": "Country calling code: one to four digits, with an optional leading plus sign. Defaults to +91.",
"type": "string",
"default": "+91",
"maxLength": 5,
"pattern": "^\\+?\\d{1,4}$"
},
"phone": {
"description": "10 digit phone number without country code.",
"type": "string",
"maxLength": 10,
"minLength": 1,
"pattern": "\\S"
},
"email": {
"type": "string",
"format": "email"
},
"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/PosUpdateCustomerWithPhone"
},
"required": [
"phone"
],
"title": "UpdateCustomerWithPhone"
}Auto-generated from OpenAPI spec and TypeScript definitions