put
https://api.duodeal.app/api/customer-companies/
Updates an existing customer company by its ID.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Customer company unique identifier |
Body Fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | Company legal name |
siret | string | No | SIRET number (French business ID) |
vatNumber | string | No | VAT identification number |
tradeName | string | No | Commercial/trade name |
address | object | No | Company address (see Address object below) |
archived | boolean | No | Set to true to archive the company |
customFields | object | No | Custom field values |
Address Object
| Field | Type | Required | Description |
|---|---|---|---|
country | string | No | Country code (e.g., FR, US) |
address | string | No | Street address |
state | string | No | State/region |
postCode | string | No | Postal code |
city | string | No | City name |
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | Customer company unique identifier |
name | string | Company legal name |
siret | string | SIRET number |
vatNumber | string | VAT identification number |
tradeName | string | Commercial/trade name |
address | object | Company address |
archived | boolean | Archived status |
isDeletable | boolean | Whether the company can be deleted |
customFields | object | Custom field values |
createdAt | datetime | Creation timestamp |
updatedAt | datetime | Last update timestamp |
Response
200 OK: Customer company successfully updated400 Bad Request: Invalid request body or validation error401 Unauthorized: Invalid or missing API key404 Not Found: Customer company not found
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Resource updated
400Bad request
401Unauthorized
404Resource not found
