SendOtpWithPhone
Type: schema
TypeScript Definition
typescript
SendOtpWithPhone: {{
/** @description 10 digit phone number without country code. */
phone: string;
country_code?: components["schemas"]["CountryCode"];
};
/** Seo */
}Component References
| Reference | Resolves To |
|---|---|
components["schemas"]["CountryCode"] | CountryCode |
OpenAPI Schema
json
{
"title": "SendOtpWithPhone",
"type": "object",
"externalDocs": {
"url": "https://llm-docs.commercengine.io/storefront/schemas/SendOtpWithPhone",
"description": "API reference for the SendOtpWithPhone schema"
},
"required": [
"phone"
],
"properties": {
"phone": {
"description": "10 digit phone number without country code.",
"type": "string",
"pattern": "^\\d{10}$"
},
"country_code": {
"$ref": "#/components/schemas/CountryCode"
}
}
}Auto-generated from OpenAPI spec and TypeScript definitions