Clients
Update a client (fields you send replace the stored ones)
Update a client (fields you send replace the stored ones). Reference for PATCH /v1/clients/{id} in the Sealio API: parameters and response fields.
PATCH
/clients/{id}Authorization
apiKey AuthorizationBearer <token>
sk_live_ca_… or sk_live_in_…, created in Settings → API keys.
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
curl -X PATCH "https://example.com/clients/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "object": "client", "kind": "individual", "display_name": "string", "email": "string", "phone": "string", "preferred_language": "en", "date_of_birth": "2019-08-24", "legal_name": "string", "business_number": "string", "address": { "line1": "string", "line2": "string", "city": "string", "region": "string", "postal_code": "string", "country": "string" }, "contacts": [ { "id": "string", "name": "string", "email": "string", "phone": "string", "is_primary": true } ], "custom_fields": {}, "archived_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}