GET
/v1/data-files/customers/sampleA customers file with a few customers in it, in the same columns as GET /v1/data-files/customers, to fill in and import. The customers are the buyers of invoices the validator accepted, never anybody’s data.
Query parameters
- formatstring
The file's format. Absent, CSV.
One ofcsv,xlsx,json.
Status codes
| Status | Meaning |
|---|---|
200 |
|
400 |
The format is not one of csv, xlsx or json (invalid_format). |
401 |
No usable credential was sent (invalid_credentials). |
GET
/v1/data-files/customers/sampleExample
curl https://api.certinvo.com/v1/data-files/customers/sample \
-H "Authorization: Bearer $CERTINVO_API_KEY"const response = await fetch(`https://api.certinvo.com/v1/data-files/customers/sample`, {
headers: {
Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
},
})
console.log(response.status, await response.json())import os
import requests
response = requests.get(
"https://api.certinvo.com/v1/data-files/customers/sample",
headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)200
No response body.
Success response