v1

latestOpenAPI 3.1.02026-08-06142966.9 KB
customers

Update Customer

Update an existing customer.

put/customers/{customer_id}

Path parameters

customer_idstring uuid required

Headers

X-API-Keystring nullable

Request body

namestring nullable
organization_idstring uuid nullable

ID of the organization this customer belongs to

document_type'mx_rfc' | 'mx_curp' | 'passport'

Document type enum.

document_numberstring nullable
emailstring email nullable
phone_numberstring nullable
customer_metadataobject nullable

Response

Successful Response

namestring required

Customer full name

org_idstring uuid required

ID of the organization this customer belongs to

document_type'mx_rfc' | 'mx_curp' | 'passport' required

Document type enum.

document_numberstring required

Document number

emailstring email nullable

Customer email address

phone_numberstring nullable

Customer phone number

customer_metadataobject nullable

Additional customer metadata

idstring uuid required
created_atstring date-time required
updated_atstring date-time nullable