Update vendor

PUT/api/v1/vendors/{id}

Update vendor contact information.

Operation ID: update_vendor_api_v1_vendors__id__put·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

idstringrequired

Request body

namestring

Updated vendor name.

emailstring · email

Updated email address.

addressstring

Updated address.

phonestring

Updated phone number.

tax_idstring

Updated tax ID.

websitestring

Updated website URL.

notesstring

Updated internal notes.

credit_limit_centsinteger

Updated credit limit in cents.

default_payment_term_idstring

Updated default payment term ID.

statusCounterpartyStatus

Updated status.

categorystring

Updated category.

Responses

200Successful Response

successboolean
messagestring
codestring
dataVendorResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject