Accounts payable
Create a vendor
Create a vendor in your app for accounts payable
POST
Create a vendor in your app for accounts payable
api_keyheader
AuthorizationBasic <token>application/json- body
name*stringcontact_email?stringFormat
emailexternal_id?stringaddress*Created
application/json- response
id?stringID of the vendor.
name?stringName of the vendor.
active?booleanIndicates if the vendor is active.
address?api_app_id?stringFormat
uuidcontact_email?|Format
emailcontact_phone?string|nullcreated?stringFormat
date-timeexternal_id?stringExample Request
curl -X POST 'https://api.dots.dev/api/v2/accounts-payable/vendors' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "address": { "country": "US", "city": "string", "state": "AL", "line_1": "string", "postcode": "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"}