Repender Public API
Create and update customers via the Repender API
Base URL
Authentication
All requests require a personal access token with the api ability.
Pass the token in the Authorization header.
Tokens can be generated in Repender under Settings > API access.
Shop context
Each request is scoped to a shop. For organizations with a single shop, the shop is resolved automatically.
For organizations with multiple shops, pass shop_id in the request body.
Endpoints
POST
/customers
Create a customer.
Request body application/json
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Customer's full name. Max 255 characters. |
| is_company | boolean | Yes | Whether this customer is a company. |
| company_name | string | No | Max 255 characters. |
| postal_code | string | No | Max 255 characters. |
| house_number | integer | No | |
| house_number_addition | string | No | Max 255 characters. |
| street | string | No | Max 255 characters. |
| city | string | No | Max 255 characters. |
| country_id | integer | No | Id of an existing country. |
| phone_number | string | No | Max 255 characters. |
| string | No | Valid email address. Max 255 characters. | |
| invoice_email | string | No | Valid email address. Max 255 characters. |
| registration_number | string | No | Chamber of Commerce number. Max 255 characters. |
| vat_number | string | No | Max 255 characters. |
| codice_fiscale | string | No | Italian tax code. Max 255 characters. |
| remarks | string | No | Free text notes. Max 65535 characters. |
Response 201 Created
PUT
/customers/{id}
Update a customer. Accepts the same fields as POST /customers. name and is_company are required.
Response 200 OK
Error responses
| Status | Meaning |
|---|---|
| 401 | Missing or invalid token. |
| 403 | Token does not have the api ability, or the provided shop_id is not accessible with this token. |
| 404 | Customer not found. |
| 422 | Validation error. The response body contains a message and an errors object with field-level details. |
Repender B.V.
Hercules 6, 5126RK Gilze
KVK: 94818932
Btw: NL866902648B01
Nederlands
English
Deutsch
Italiano