curl --request GET \
--url https://api.meetcampfire.com/coa/api/vendor \
--header 'Authorization: <api-key>'{
"count": 123,
"results": [
{
"id": 123,
"parent_name": "<string>",
"stripe_connection_name": "<string>",
"stripe_connection_entity": 123,
"stripe_connection_portal_url": "<string>",
"stripe_connection_portal_enabled": true,
"vendor_custom_field_1_name": "<string>",
"payment_term_name_display": "<string>",
"last_modified_at": "2023-11-07T05:31:56Z",
"is_deleted": false,
"deleted_at": "2023-11-07T05:31:56Z",
"search_vector": "<string>",
"search_text": "<string>",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"customer": 123,
"contacts": [
{
"id": 123,
"last_modified_at": "2023-11-07T05:31:56Z",
"is_deleted": false,
"deleted_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "[email protected]",
"phone_number": "<string>",
"mobile_number": "<string>"
}
],
"vendor_type": "vendor",
"dba": "<string>",
"company_name": "<string>",
"website": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "[email protected]",
"phone_number": "<string>",
"mobile_number": "<string>",
"address_street_1": "<string>",
"address_street_2": "<string>",
"city": "<string>",
"state": "<string>",
"zip_code": "<string>",
"country": "<string>",
"billing_address_street_1": "<string>",
"billing_address_street_2": "<string>",
"billing_city": "<string>",
"billing_state": "<string>",
"billing_zip_code": "<string>",
"billing_country": "<string>",
"shipping_addressee": "<string>",
"billing_addressee": "<string>",
"notes": "<string>",
"business_id_ssn": "<string>",
"is_1099": true,
"vat_number": "<string>",
"entity_use_code": "<string>",
"stripe_customer_id": "<string>",
"use_stripe_auto_bill": true,
"bill_vendor_id": "<string>",
"external_id": "<string>",
"source": "BILL",
"invoice_message": "<string>",
"abbreviation": "<string>",
"status": "ACTIVE",
"anrok_customer_id": "<string>",
"terms": "custom",
"lineage_array": [
"<string>"
],
"parent": 123,
"stripe_connection": 123,
"default_expense_category": 123,
"vendor_custom_field_1": 123,
"payment_term": 123
}
],
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100"
}Retrieve a list of vendors/customers with optional filtering and sorting.
Supports retrieving deleted records for audit purposes. When include_deleted=true, returns ONLY deleted records with minimal data (id, is_deleted, deleted_at, last_modified_at). When false or omitted, returns ONLY active records.
curl --request GET \
--url https://api.meetcampfire.com/coa/api/vendor \
--header 'Authorization: <api-key>'{
"count": 123,
"results": [
{
"id": 123,
"parent_name": "<string>",
"stripe_connection_name": "<string>",
"stripe_connection_entity": 123,
"stripe_connection_portal_url": "<string>",
"stripe_connection_portal_enabled": true,
"vendor_custom_field_1_name": "<string>",
"payment_term_name_display": "<string>",
"last_modified_at": "2023-11-07T05:31:56Z",
"is_deleted": false,
"deleted_at": "2023-11-07T05:31:56Z",
"search_vector": "<string>",
"search_text": "<string>",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"customer": 123,
"contacts": [
{
"id": 123,
"last_modified_at": "2023-11-07T05:31:56Z",
"is_deleted": false,
"deleted_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "[email protected]",
"phone_number": "<string>",
"mobile_number": "<string>"
}
],
"vendor_type": "vendor",
"dba": "<string>",
"company_name": "<string>",
"website": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "[email protected]",
"phone_number": "<string>",
"mobile_number": "<string>",
"address_street_1": "<string>",
"address_street_2": "<string>",
"city": "<string>",
"state": "<string>",
"zip_code": "<string>",
"country": "<string>",
"billing_address_street_1": "<string>",
"billing_address_street_2": "<string>",
"billing_city": "<string>",
"billing_state": "<string>",
"billing_zip_code": "<string>",
"billing_country": "<string>",
"shipping_addressee": "<string>",
"billing_addressee": "<string>",
"notes": "<string>",
"business_id_ssn": "<string>",
"is_1099": true,
"vat_number": "<string>",
"entity_use_code": "<string>",
"stripe_customer_id": "<string>",
"use_stripe_auto_bill": true,
"bill_vendor_id": "<string>",
"external_id": "<string>",
"source": "BILL",
"invoice_message": "<string>",
"abbreviation": "<string>",
"status": "ACTIVE",
"anrok_customer_id": "<string>",
"terms": "custom",
"lineage_array": [
"<string>"
],
"parent": 123,
"stripe_connection": 123,
"default_expense_category": 123,
"vendor_custom_field_1": 123,
"payment_term": 123
}
],
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100"
}Token-based authentication with required prefix "Token"
Filter by external ID
When set to 'true', returns ONLY deleted records instead of active records. Deleted records contain minimal data: 'id', 'is_deleted=true', 'deleted_at' timestamp, and 'last_modified_at'. When 'false' or omitted, returns ONLY active records. This provides clean separation between active and deleted data.
Include inactive vendors in results
Filter for records modified on or after this timestamp. Format: ISO 8601 (e.g., '2024-01-01T00:00:00Z' or '2024-01-01'). Works with both active records and deleted records (filters by deletion time for deleted records).
Filter for records modified on or before this timestamp. Format: ISO 8601 (e.g., '2024-12-31T23:59:59Z' or '2024-12-31'). Works with both active records and deleted records (filters by deletion time for deleted records).
Number of results to return per page.
The initial index from which to return the results.
Search query - searches by name, DBA, email, or company name. If numeric, also searches by ID
Sort order. Use field name for ascending, -field for descending. Supports multiple fields separated by comma. Default: name
Filter by vendor type. Can be specified multiple times for multiple types
customer, vendor