Indicates that this company is a buyer or seller of a consignment
ID of the default invoice customer (bill-to) for this company. When set, charges for this customer are billed to the referenced company instead.
Indicate that this company is a subcontractor (supplier)
Set to true to archive the customer role of this company, or false to reactivate it. Has no effect if is_customer is false.
Set to true to archive the subcontractor role of this company, or false to reactivate it. Has no effect if is_subcontractor is false.
Locale of the company. Format: ISO 639-1 language code, optionally followed by a dash and ISO 3166-1 alpha-2 country code.
DESCRIPTION_HERE
The limit for total amount that has been invoiced but not paid. Deprecated: use credit_policy.limit instead.
Set to true to disallow new order creation for companies representing companies.
Note: Deprecated in favor of status under the sales and purchase fields.an update of status will always prevail over is_blocked update.
The status indicates whether an order can be linked to this customer. The available statuses are:
PROSPECT: The company is a potential customer but not yet approved. Only quotes can be created; no orders can be placed.NOT_APPROVED: The company is not yet fully approved as a customer. This is an intermediary step between PROSPECT and APPROVED. Same permissions as PROSPECT apply.APPROVED: The customer is approved. Orders can be placed without restrictions.WARNING: The customer is approved, but a warning is triggered when attempting to create an order in Qargo. The operator can dismiss the warning and proceed with the order.BLOCKED: The customer is blocked; no new orders can be created.
For a company representing other companies, it can only create orders if it holds the APPROVED status.Note: Deprecated in favor of status under the sales and purchase fields.
{ "is_customer": false, "is_buyer_or_seller": true, "name": "John Doe", "code": "", "currency": "EUR", "custom_fields": {}, "credit_policy": { "limit": 10000 }, "default_invoice_customer_id": "ac42f3df-acf0-4ad4-b51e-0c0e4d45f598", "is_subcontractor": false, "archived_customer": true, "archived_subcontractor": true, "legal_name": "John Doe", "locale": "en", "vat_number": "BE1234.123.123", "reference_numbers": { "eori_number": "", "duns_number": "", "scac_code": "", "company_registration_number": "", "tss_registration_number": "" }, "note": "", "tax_type": "VAT", "bank_accounts": [], "accounting_code": "1234", "billing_location": { "code": "", "display_name": "Main Office", "external_id": "string", "address": "Gaston Crommenlaan 4", "address_second_line": "", "city": "Ghent", "state": "", "country": "BE", "postal_code": "9050", "name": "Qargo HQ" }, "payment_term": { "code": "END_OF_MONTH_2" }, "contacts": [ { … } ], "sales": { "payment_term": { … }, "billing_entities": [ … ], "status": "PROSPECT" }, "purchase": { "payment_term": { … }, "billing_entities": [ … ], "status": "NOT_APPROVED" }, "credit_limit_total": 12000, "is_blocked": true, "status": "PROSPECT" }
Successful Response
Indicate that this company is a subcontractor (supplier)
Indicates that this company is a buyer or seller of a consignment
default tax type of the company
The status indicates whether an order can be linked to this customer. The available statuses are:
PROSPECT: The company is a potential customer but not yet approved. Only quotes can be created; no orders can be placed.NOT_APPROVED: The company is not yet fully approved as a customer. This is an intermediary step between PROSPECT and APPROVED. Same permissions as PROSPECT apply.APPROVED: The customer is approved. Orders can be placed without restrictions.WARNING: The customer is approved, but a warning is triggered when attempting to create an order in Qargo. The operator can dismiss the warning and proceed with the order.BLOCKED: The customer is blocked; no new orders can be created.
For a company representing other companies, it can only create orders if it holds the APPROVED status.
Default customer accounting code linked to the accounting system. Please use the accounting codes on the billing entities, as these are split per billing entity and between sales/purchase sides.
Locale of the company. Format: ISO 639-1 language code, optionally followed by a dash and ISO 3166-1 alpha-2 country code.
Indicate that this company is archived as a customer
Indicate that this company is archived as a subcontractor
Indicates that this company is archived as buyer/seller of a consignment
Default invoice customer (bill-to) for this company. When set, charges for this customer are billed to the referenced company instead.
The date and time when the company was last updated.
The limit for total amount that has been invoiced but not paid. Deprecated: use credit_policy.limit instead.
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "", "currency": "EUR", "custom_fields": {}, "is_customer": false, "is_subcontractor": false, "is_buyer_or_seller": true, "name": "John Doe", "legal_name": "John Doe", "vat_number": "BE1234.123.123", "note": "", "tax_type": "VAT", "status": "PROSPECT", "accounting_code": "1234", "billing_location": { "code": "LOC123", "display_name": "Main Office", "external_id": "string", "address": "Gaston Crommenlaan 4", "address_second_line": "", "city": "Ghent", "state": "", "country": "BE", "postal_code": "9050", "name": "Qargo HQ", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "latitude": 0, "longitude": 0 }, "payment_term": { "code": "END_OF_MONTH_2" }, "locale": "en", "archived_customer": true, "archived_subcontractor": true, "archived_buyer_or_seller": true, "credit_policy": { "limit": 10000 }, "default_invoice_customer": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "John Doe", "code": "CUST-001" }, "reference_numbers": { "eori_number": "", "duns_number": "", "scac_code": "", "company_registration_number": "", "tss_registration_number": "" }, "bank_accounts": [ { … } ], "contacts": [ { … } ], "sales": { "payment_term": { … }, "billing_entities": [ … ], "status": "PROSPECT" }, "purchase": { "payment_term": { … }, "billing_entities": [ … ], "status": "NOT_APPROVED" }, "timestamp_updated": "2019-08-24T14:15:22Z", "is_blocked": false, "credit_limit_total": 12000 }