{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/revolut/main/json-schema/revolut-customer-update-v2-schema.json",
  "title": "Customer update",
  "description": "The request body for updating a customer.\n\nAll fields are optional. Only the fields provided in the request will be updated.\n\n:::note\n`business_name` is not supported in this version of the API.\n:::",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/revolut-customers-api-openapi.yml#/components/schemas/Customer-Update-v2",
  "type": "object",
  "properties": {
    "full_name": {
      "$ref": "#/$defs/Full-Name"
    },
    "email": {
      "$ref": "#/$defs/Email"
    },
    "phone": {
      "$ref": "#/$defs/Phone"
    },
    "date_of_birth": {
      "$ref": "#/$defs/Date-Of-Birth"
    }
  },
  "$defs": {
    "Date-Of-Birth": {
      "type": "string",
      "format": "date",
      "description": "The birth date of the customer."
    },
    "Email": {
      "type": "string",
      "format": "email",
      "description": "The email address of the customer."
    },
    "Full-Name": {
      "type": "string",
      "description": "The full name of the customer."
    },
    "Phone": {
      "type": "string",
      "description": "The phone number of the customer in [E.164 format](https://en.wikipedia.org/wiki/E.164)."
    }
  }
}