Skip to content

RegisterWithEmailPassword

Type: schema

TypeScript Definition

typescript
RegisterWithEmailPassword: {{
            /** Format: email */
            email: string;
            password: string;
            confirm_password: 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. By default it will be +91 if not provided. */
            country_code?: string | null;
        };
        /** RegisterWithPhonePassword */
}

OpenAPI Schema

json
{
  "title": "RegisterWithEmailPassword",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/RegisterWithEmailPassword",
    "description": "API reference for the RegisterWithEmailPassword schema"
  },
  "required": [
    "email",
    "password",
    "confirm_password"
  ],
  "properties": {
    "email": {
      "type": "string",
      "format": "email"
    },
    "password": {
      "type": "string"
    },
    "confirm_password": {
      "type": "string"
    },
    "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. By default it will be +91 if not provided.",
      "type": [
        "string",
        "null"
      ]
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: