PATCH
/
api
/
v0
/
customers
/
{id}
Update a customer
curl --request PATCH \
  --url https://api.devdraft.ai/api/v0/customers/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-client-secret: <api-key>' \
  --data '{
  "first_name": "John",
  "last_name": "Doe",
  "email": "john.doe@example.com",
  "phone_number": "+1-555-123-4567",
  "customer_type": "Individual",
  "status": "ACTIVE"
}'

Authorizations

x-client-secret
string
header
required

Your secret API key. Keep this secure and never expose it in client-side code.

Path Parameters

id
string<uuid>
required

Customer unique identifier (UUID)

Example:

"cust_123e4567-e89b-12d3-a456-426614174000"

Body

application/json

Customer update data

The body is of type object.

Response

200

Successfully updated customer