Skip to main content
Update mutable fields on a customer record. Only include the fields you want to change.
PUT /customer/customer/{customer_id}
Requires Idempotency-Key header.

Path parameters

customer_id
string
required
The UUID of the customer to update.

Request body

customer_name
string
Updated customer name.
customer_email
string
Updated email address.
customer_phone
string
Updated phone number in E.164 format.
customer_country
string
Updated country in ISO 3166-1 alpha-3 format.
curl -X PUT 'https://api.yativo.com/api/v1/customer/customer/c586066b-0f29-468f-b775-15483871a202' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: update-customer-alex-smith-002' \
  -d '{
    "customer_phone": "+15559876543"
  }'
{
  "status": "success",
  "status_code": 200,
  "message": "Customer updated successfully",
  "data": {
    "customer_id": "c586066b-0f29-468f-b775-15483871a202",
    "customer_name": "Alex Smith",
    "customer_email": "alex.smith@example.com",
    "customer_phone": "+15559876543",
    "customer_country": "USA",
    "customer_type": "individual",
    "customer_status": "active",
    "updated_at": "2026-04-02T14:00:00.000000Z"
  }
}