API / Accounting
Use case / Accounting
Update Company (Deprecated)
Changed on(deprecated, use /company/{id} instead)
patch/v1/accounting/company/{id}
Request
- Base URL: https://api.qargo.com
- URL: https://api.qargo.com/v1/accounting/company/{id}
- Auth: OAuth 2 (client credentials, token URL /v1/auth/token)
Path parameters
idstring uuid required
Request body
Example request
{
"name": "Acme Logistics BV",
"sales": {
"status": "WARNING"
}
}Response
Successful Response
Example response
{
"currency": "EUR",
"name": "John Doe",
"legal_name": "John Doe",
"vat_number": "BE1234.123.123",
"accounting_code": "1234",
"billing_location": {
"code": "LOC123",
"display_name": "Main Office",
"address": "Gaston Crommenlaan 4",
"city": "Ghent",
"country": "BE",
"postal_code": "9050",
"name": "Qargo HQ"
},
"locale": "en",
"credit_policy": {
"limit": 10000
},
"default_invoice_customer": {
"name": "John Doe",
"code": "CUST-001"
},
"contacts": [
{
"name": "John Doe",
"phone_number": "+32485123456"
}
],
"credit_limit_total": 12000
}Changes
- warning
added the new
UK_REVERSE_CHARGEenum value to the/response property for the response status - info
added the new
UK_REVERSE_CHARGEenum value to the request property/
- warning
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info