curl --request GET \
  --url https://api.dots.dev/api/v2/accounts-payable/vendors/{vendor_id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "active": true,
  "address": {
    "city": "<string>",
    "country": "<string>",
    "line_1": "<string>",
    "line_2": "<string>",
    "postcode": "<string>",
    "state": "<string>"
  },
  "api_app_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "contact_email": "jsmith@example.com",
  "created": "2023-11-07T05:31:56Z",
  "external_id": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

vendor_id
string
required

The ID of the Vendor

Response

200 - application/json
OK
id
string

ID of the vendor.

name
string

Name of the vendor.

description
string
active
boolean

Indicates if the vendor is active.

address
object
api_app_id
string
contact_email
string
created
string
external_id
string | null