PATCH
/
vendors
/
{id}
curl --request PATCH \
  --url https://api.antei.com/vendors/{id} \
  --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"
}

This endpoint lets you update a vendor’s details. Only the fields you provide will be modified.

You must specify the vendor ID in the URL path.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The ID of the vendor to update

Body

application/json

Response

200 - application/json

Updated vendor

The response is of type object.