API / Accounting
Use case / Accounting
Update Company (Deprecated)
(deprecated, use /company/{id} instead)
patch/v1/accounting/company/{id}
Path parameters
idstring uuid required
Request body
Example request
{
"name": "John Doe",
"currency": "EUR",
"credit_policy": {
"limit": 10000
},
"legal_name": "John Doe",
"locale": "en",
"vat_number": "BE1234.123.123",
"accounting_code": "1234",
"billing_location": {
"display_name": "Main Office",
"address": "Gaston Crommenlaan 4",
"city": "Ghent",
"country": "BE",
"postal_code": "9050",
"name": "Qargo HQ"
},
"contacts": [
{
"name": "John Doe",
"phone_number": "+32485123456"
}
],
"credit_limit_total": 12000
}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
No recorded changes to this endpoint across all 1 revision of this API.