Authorizations
Your project API key
Path Parameters
Body
application/json
Response
Customer updated
curl --request PATCH \
--url https://app.kapso.ai/api/v1/customers/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"customer": {
"name": "<string>",
"external_customer_id": "<string>"
}
}'
{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Acme Corporation",
"external_customer_id": "CUS-12345",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
Update customer details
curl --request PATCH \
--url https://app.kapso.ai/api/v1/customers/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"customer": {
"name": "<string>",
"external_customer_id": "<string>"
}
}'
{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Acme Corporation",
"external_customer_id": "CUS-12345",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
Your project API key
Show child attributes
Customer updated
Show child attributes
Was this page helpful?