magento · Schema

CustomerRequest

Request body for creating or updating a customer account.

Properties

Name Type Description
customer object
password string Plain-text password to set on the customer account. If omitted, a password reset email is sent.
View JSON Schema on GitHub

JSON Schema

magento-customerrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CustomerRequest",
  "title": "CustomerRequest",
  "type": "object",
  "description": "Request body for creating or updating a customer account.",
  "required": [
    "customer"
  ],
  "properties": {
    "customer": {
      "$ref": "#/components/schemas/Customer"
    },
    "password": {
      "type": "string",
      "description": "Plain-text password to set on the customer account. If omitted, a password reset email is sent.",
      "format": "password"
    }
  }
}