PATCH
/
customers
/
{id}
Update customer
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"
  }
}

Authorizations

X-API-Key
string
header
required

Your project API key

Path Parameters

id
string<uuid>
required

Body

application/json
customer
object
required

Response

Customer updated

data
object