AccountingAccounts PayableVendors
Update a vendor
PATCH
Scopes: vendor:update
OAuth2ClientCredentialsBearer vendor:updateheader
AuthorizationBearer <token>Scope: vendor:update
vendor_id*Vendor IdFormat
ven_stringbusiness_id*Business IdThe id of the business
Format
biz_stringapplication/json- body
name?|The name of the vendor
email?|The email address of the vendor
contact_name?|The contact name of the vendor
phone_number?|The phone number of the vendor
external_id?|The external ID of the vendor
is_disabled?|Whether the vendor is disabled. Set to false to re-enable a disabled vendor.
Successful Response
application/json- response
data*curl -X PATCH 'https://api.sandbox.getasset.com/v0/business/biz_GA6EG2qFxA97NZHtxeLPUy/vendors/string' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "data": { "external_id": "string", "name": "string", "contact_name": "string", "email": "string", "phone_number": "string", "id": "string", "is_disabled": true }}