AccountingAccounts PayableVendors
Create a new vendor
POST
Scopes: vendor:create
OAuth2ClientCredentialsBearer vendor:createheader
AuthorizationBearer <token>Scope: vendor:create
business_id*Business IdThe id of the business
Format
biz_stringapplication/json- body
external_id?|The external ID of the vendor
name*NameThe name of the vendor
Length
length <= 255contact_name?|The contact name of the vendor
email?|The email address of the vendor
phone_number?|The phone number of the vendor
Successful Response
application/json- response
data*curl -X POST 'https://api.sandbox.getasset.com/v0/business/biz_GA6EG2qFxA97NZHtxeLPUy/vendors' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response
{ "data": { "external_id": "string", "name": "string", "contact_name": "string", "email": "string", "phone_number": "string", "id": "string", "is_disabled": true }}