Skip to content

SendOtpWithPhone

Type: schema

TypeScript Definition

typescript
SendOtpWithPhone: {{
            /** @description 10 digit phone number without country code. */
            phone: string;
            /** @description Two-letter code with plus sign prefix (e.g. +91). Defaults to +91 if omitted. Use with `phone` only. */
            country_code?: string;
        };
        /** Seo */
}

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"
    },
    "country_code": {
      "description": "Two-letter code with plus sign prefix (e.g. +91). Defaults to +91 if omitted. Use with `phone` only.",
      "type": "string"
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: