Skip to main content
PUT
/
api
/
v1
/
vendors
/
{vendorId}
Update Vendor
curl --request PUT \
  --url https://app.phonebot.io:80/api/v1/vendors/{vendorId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "ACME Corp. International"
}
'
{
  "success": true,
  "timestamp": "2025-04-17T14:23:30Z",
  "message": "<string>",
  "data": null,
  "traceId": "<string>"
}

Path Parameters

vendorId
string
required

ID of the Vendor to update (UUID)

Body

application/json

Vendor update data

Data required to update an existing Vendor.

name
string
required

Updated name for the vendor.

Example:

"ACME Corp. International"

Response

Vendor successfully updated

Standard API response wrapper

success
boolean
required

Indicates if the request was successful

Example:

true

timestamp
string<date-time>
required

Response timestamp in ISO-8601 format

Example:

"2025-04-17T14:23:30Z"

message
string

Human-readable message

data
any

Payload data object

Example:

null

traceId
string

Correlation or trace ID