Customers
Update a customer
Customers
Update a customer
Updates a customer.
POST
/
v1
/
customers
/
{customer_id}
curl --request POST \
--url https://api.amberflow.io/v1/customers/{customer_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"name": "John Doe",
"language": "en-US",
"group_id": "grp_y8SKJzCBbnyxbFUM"
}'
{
"id": "cus_sT1gLxE0pV0kafKv",
"created_at": "2024-09-23T12:00:00.000Z",
"name": "John Doe",
"email": "john@example.com",
"language": "en-US",
"group_id": "grp_hfc0LgNhTBuWS1j0"
}
Authorizations
Path Parameters
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://api.amberflow.io/v1/customers/{customer_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"name": "John Doe",
"language": "en-US",
"group_id": "grp_y8SKJzCBbnyxbFUM"
}'
{
"id": "cus_sT1gLxE0pV0kafKv",
"created_at": "2024-09-23T12:00:00.000Z",
"name": "John Doe",
"email": "john@example.com",
"language": "en-US",
"group_id": "grp_hfc0LgNhTBuWS1j0"
}