DotsDocs
Accounts payable

Get vendor details

Get details of vendor

GET
/v2/accounts-payable/vendors/{vendor_id}

Get details of vendor

Authorization

api_key
headerAuthorizationBasic <token>

Path Parameters

vendor_id*string

The ID of the Vendor

Response Body

OK

application/json
  1. response
id?string

ID of the vendor.

name?string

Name of the vendor.

active?boolean

Indicates if the vendor is active.

address?
api_app_id?string
Formatuuid
contact_email?|
Formatemail
contact_phone?string|null
created?string
Formatdate-time
external_id?string
Example Request
curl -X GET 'https://api.dots.dev/api/v2/accounts-payable/vendors/string'
Example Response
{  "id": "string",  "name": "string",  "active": true,  "address": {    "city": "string",    "country": "string",    "line_1": "string",    "line_2": "string",    "postcode": "string",    "state": "string"  },  "api_app_id": "ad6a2ad4-d593-4e3e-bfd5-50592ed119ca",  "contact_email": "user@example.com",  "contact_phone": "string",  "created": "2019-08-24T14:15:22Z",  "external_id": "string"}