Vendors

Update vendor

PUT
Update a vendor for an integration.

Path parameters

vendor_idstringRequired

Request

This endpoint expects an object.
name
stringOptional
The name associated with the vendor
is_active
booleanOptional
Whether the vendor is active
notes
stringOptional
Notes associated with the vendor
tax_id
stringOptional
tax_payer_first_name
stringOptional
The first name of the tax payer associated with the vendor
tax_payer_last_name
stringOptional
The last name of the tax payer associated with the vendor
workers_comp_expiration_date
unionOptional
The expiration date of the workers compensation policy on file for this vendor
liability_expiration_date
unionOptional
The expiration date of the liability insurance policy on file for this vendor
address_1
stringOptional
The first address line associated with the vendor
address_2
stringOptional
The second address line associated with the vendor
city
stringOptional
The city associated with the vendor
state
enumOptional
The state associated with the vendor
zip
stringOptional
The zip code associated with the vendor
country
unionOptional
The country associated with the vendor
email_1
stringOptional
The primary email address associated with the vendor
phone_1
stringOptional
Primary phone number associated with the vendor
phone_2
stringOptional
Secondary phone number associated with the vendor

Response

This endpoint returns an object
job_id
string
The ID of the job created to handle this operation
data
object
Returned data from the operation. This is dependent on the vendor specific endpoint's returned data.
PUT
1curl -X PUT https://api.propexo.com/v1/vendors/vendor_id \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
200
Updated
1{
2 "job_id": "job_id",
3 "data": {}
4}