cURL
curl --request PATCH \ --url https://staging.cutmake.ai/api/v1/clients/{client_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "country": "<string>", "maxAccountValue": 123, "currency": "<string>", "priceCategory": "high", "paymentTerms": "<string>", "contacts": [ { "id": "<string>", "contactName": "<string>", "email": "<string>", "phoneNumber": "<string>", "countryCode": "<string>" } ] } '
{ "id": "<string>", "name": "<string>", "country": "<string>", "maxAccountValue": 123, "currency": "<string>", "priceCategory": "high", "paymentTerms": "<string>", "contacts": [ { "id": "<string>", "contactName": "<string>", "email": "<string>", "phoneNumber": "<string>", "countryCode": "<string>" } ], "ordersCount": 123 }
The access token received from the authorization server in the OAuth 2.0 flow.
Schema for updating a client
high
medium
low
Show child attributes
Successful Response
Schema for client response - uses camelCase per API_STANDARDS