curl --request GET \
--url https://api.meetcampfire.com/coa/api/vendorimport requests
url = "https://api.meetcampfire.com/coa/api/vendor"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.meetcampfire.com/coa/api/vendor', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.meetcampfire.com/coa/api/vendor",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.meetcampfire.com/coa/api/vendor"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.meetcampfire.com/coa/api/vendor")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meetcampfire.com/coa/api/vendor")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"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,
"stripe_connection_invoicing_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>",
"campfire_id": "<string>",
"name": "<string>",
"display_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"netsuite_customer_id": "<string>",
"customer": 123,
"contacts": [
{
"title_name": "<string>",
"last_modified_at": "2023-11-07T05:31:56Z",
"is_deleted": false,
"deleted_at": "2023-11-07T05:31:56Z",
"id": 123,
"name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>",
"mobile_number": "<string>",
"title": 123
}
],
"vendor_type": "vendor",
"dba": "<string>",
"company_name": "<string>",
"website": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"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,
"is_reseller": true,
"vat_number": "<string>",
"business_type": "<string>",
"business_category": "<string>",
"entity_use_code": "<string>",
"withholding_tax_id": "<string>",
"ita_deduction_type_code": "<string>",
"ita_vendor_entity_code": "0",
"ita_vendor_entity_type": "1",
"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>",
"avalara_customer_id": "<string>",
"terms": "custom",
"invoice_labels": null,
"invoice_language": "<string>",
"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"
}List Vendors
Retrieve a list of vendors/customers with optional filtering and sorting.
Each vendor includes metadata about its parent vendor (parent, parent_name) and its
full lineage (the ordered chain of ancestor vendors), so parent/child vendor
relationships can be reconstructed from the response.
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/vendorimport requests
url = "https://api.meetcampfire.com/coa/api/vendor"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.meetcampfire.com/coa/api/vendor', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.meetcampfire.com/coa/api/vendor",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.meetcampfire.com/coa/api/vendor"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.meetcampfire.com/coa/api/vendor")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meetcampfire.com/coa/api/vendor")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"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,
"stripe_connection_invoicing_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>",
"campfire_id": "<string>",
"name": "<string>",
"display_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"netsuite_customer_id": "<string>",
"customer": 123,
"contacts": [
{
"title_name": "<string>",
"last_modified_at": "2023-11-07T05:31:56Z",
"is_deleted": false,
"deleted_at": "2023-11-07T05:31:56Z",
"id": 123,
"name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"phone_number": "<string>",
"mobile_number": "<string>",
"title": 123
}
],
"vendor_type": "vendor",
"dba": "<string>",
"company_name": "<string>",
"website": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"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,
"is_reseller": true,
"vat_number": "<string>",
"business_type": "<string>",
"business_category": "<string>",
"entity_use_code": "<string>",
"withholding_tax_id": "<string>",
"ita_deduction_type_code": "<string>",
"ita_vendor_entity_code": "0",
"ita_vendor_entity_type": "1",
"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>",
"avalara_customer_id": "<string>",
"terms": "custom",
"invoice_labels": null,
"invoice_language": "<string>",
"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"
}Query Parameters
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.