Skip to content

RegisterWithEmailPassword ​

Type: schema

TypeScript Definition ​

typescript
RegisterWithEmailPassword: {{
            /** Format: email */
            email: string;
            password: string;
            /** @description Optional; must match password when supplied. */
            confirm_password?: string;
            phone?: never;
            country_code?: components["schemas"]["CountryCode"];
        };
        /** RegisterWithPhonePassword */
}

Component References ​

ReferenceResolves To
components["schemas"]["CountryCode"]CountryCode

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"
  ],
  "properties": {
    "email": {
      "type": "string",
      "format": "email"
    },
    "password": {
      "type": "string",
      "minLength": 1,
      "pattern": "\\S"
    },
    "confirm_password": {
      "description": "Optional; must match password when supplied.",
      "type": "string",
      "minLength": 1,
      "pattern": "\\S"
    },
    "phone": false,
    "country_code": {
      "$ref": "#/components/schemas/CountryCode"
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: