{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crisphive-com/json-schema/crisphive-com-put-v1-customers-id-request-schema.json",
  "title": "PutV1CustomersIdRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/crisphive-com-openapi-generated.yml#/components/schemas/PutV1CustomersIdRequest",
  "type": "object",
  "properties": {
    "address": {
      "type": "object",
      "description": "Postal address and coordinates. Omit the whole object to leave the stored address untouched; when present it REPLACES the address block."
    },
    "email": {
      "type": "string",
      "description": "Email address. Omit to leave unchanged, \"\" to clear."
    },
    "full_name": {
      "type": "string",
      "description": "Customer's full name. Omit to leave unchanged; an empty or blank value is ignored."
    },
    "notes": {
      "type": "string",
      "description": "Free-form internal notes about the customer. Omit to leave unchanged, \"\" to clear."
    },
    "phone": {
      "type": "string",
      "description": "Phone number in E.164 format. Omit to leave unchanged, \"\" to clear."
    },
    "preferred_technician_id": {
      "type": "string",
      "description": "UUID of the technician this customer prefers. Omit to leave unchanged, \"\" to clear."
    },
    "service_area_id": {
      "type": "string",
      "description": "UUID of the service area for this customer. Omit to leave unchanged, \"\" to clear."
    },
    "sms_opt_in": {
      "type": "boolean",
      "description": "SMS consent, tri-state: omit/null = leave unchanged; true = grant; false = revoke."
    },
    "status": {
      "type": "string",
      "description": "Lifecycle status. Omit to leave unchanged; \"\" is ignored."
    },
    "tier": {
      "type": "string",
      "description": "Loyalty tier. Omit to leave unchanged; \"\" is ignored."
    },
    "uid": {
      "type": "string",
      "description": "Your external reference for this customer. Omit to leave unchanged, \"\" to clear."
    }
  }
}