Skip to main content
POST
/
vendors
Create vendor
curl --request POST \
  --url https://api.antei.com/vendors \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "country": "<string>",
  "tax_id": "<string>",
  "exempt": true,
  "email": "jsmith@example.com"
}'
{
  "id": "<string>",
  "name": "<string>",
  "country": "<string>",
  "tax_id": "<string>",
  "exempt": true,
  "email": "jsmith@example.com"
}
Use this endpoint to create a new vendor record. At minimum, name and country are required. You can also provide tax ID and exemption status, which are useful for compliance tracking.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
country
string
required
tax_id
string
exempt
boolean
email
string<email>

Response

201 - application/json

Vendor created

id
string
required

Unique identifier for the vendor

name
string
required

Vendor's legal or trading name

country
string
required

Country of vendor operation

tax_id
string

Vendor's tax identification number

exempt
boolean

Indicates whether the vendor is tax exempt

email
string<email>

Vendor's contact email