/2026-07-14/clients
Client
Clients are the businesses or people your account works for and bills.
Endpoints
GET
/2026-07-14/clients
List records
Example request
curl \
-H "Authorization: Bearer $BUEZLI_API_TOKEN" \
"https://api.buezli.app/2026-07-14/clients?page=1&limit=50"
POST
/2026-07-14/clients
Create a record
Example request
curl -X POST \
-H "Content-Type: application/json" \
-d @body.json \
-H "Authorization: Bearer $BUEZLI_OAUTH_TOKEN" \
"https://api.buezli.app/2026-07-14/clients"
Writes need a member's OAuth token with the clients:write scope; account API tokens only read.
- Required body
- name
- Optional body
- address, currency, locale
GET
/2026-07-14/clients/:id
Retrieve one record
Example request
curl \
-H "Authorization: Bearer $BUEZLI_API_TOKEN" \
"https://api.buezli.app/2026-07-14/clients/123"
PATCH
/2026-07-14/clients/:id
Update a record
Example request
curl -X PATCH \
-H "Content-Type: application/json" \
-d @body.json \
-H "Authorization: Bearer $BUEZLI_OAUTH_TOKEN" \
"https://api.buezli.app/2026-07-14/clients/123"
Writes need a member's OAuth token with the clients:write scope; account API tokens only read.
- Optional body
- name, address, currency, locale, archived
DELETE
/2026-07-14/clients/:id
Delete a record
Example request
curl -X DELETE \
-H "Content-Type: application/json" \
-d @body.json \
-H "Authorization: Bearer $BUEZLI_OAUTH_TOKEN" \
"https://api.buezli.app/2026-07-14/clients/123"
Writes need a member's OAuth token with the clients:write scope; account API tokens only read.
Fields
| Field | Type | Description |
|---|---|---|
| id | integer | Unique identifier for the resource. |
| created_at | datetime | Timestamp when the resource was created. |
| updated_at | datetime | Timestamp when the resource was last updated. |
| name | string | Display name of the client. |
| address | string | Postal address used for the client. |
| currency | string | ISO 4217 currency code used for new client documents. |
| locale | string | Language code used for customer-facing document labels. |
| archived_at | datetime | Timestamp when the client was archived, or null when active. |