Skip to main content
PATCH
/
v0
/
business
/
{business_id}
/
vendors
/
{vendor_id}
Update a vendor
curl --request PATCH \
  --url https://api.sandbox.getasset.com/v0/business/{business_id}/vendors/{vendor_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "email": "<string>",
  "contact_name": "<string>",
  "phone_number": "<string>",
  "external_id": "<string>"
}
'
{
  "data": {
    "name": "<string>",
    "id": "<string>",
    "external_id": "<string>",
    "contact_name": "<string>",
    "email": "<string>",
    "phone_number": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.getasset.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

business_id
string<biz_string>
required
vendor_id
string<ven_string>
required

Body

application/json
name
string | null

The name of the vendor

Maximum string length: 255
email
string | null

The email address of the vendor

Maximum string length: 255
contact_name
string | null

The contact name of the vendor

Maximum string length: 255
phone_number
string | null

The phone number of the vendor

Maximum string length: 32
external_id
string | null

The external ID of the vendor

Maximum string length: 255

Response

Successful Response

data
Vendor · object
required