Skip to main content
PUT
/
api
/
v1
/
vendors
/
{vendorId}
/
organizations
/
{organizationId}
Update Organization
curl --request PUT \
  --url https://app.phonebot.io:80/api/v1/vendors/{vendorId}/organizations/{organizationId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "companyName": "Example Corporation",
  "industry": "Software Development",
  "contact": {
    "firstName": "John",
    "lastName": "Smith",
    "phoneNumber": "+491719876543",
    "country": "DE"
  },
  "planId": "d5b0f4a9-b4c3-5e2d-9c8f-6b0e1d2f3a4b"
}
'
{
  "success": true,
  "timestamp": "2025-04-17T14:23:30Z",
  "message": "<string>",
  "data": null,
  "traceId": "<string>"
}

Path Parameters

vendorId
string
required

ID of the Vendor (UUID)

organizationId
string
required

ID of the Organization to update (UUID)

Body

application/json

Data required to update an existing Organization.

companyName
string
required

Updated name of the organization.

Example:

"Example Corporation"

industry
string
required

Updated industry the organization operates in.

Example:

"Software Development"

contact
object
required

Updated primary contact information for the organization.

planId
string
required

Updated ID of the Plan assigned to this organization (UUID).

Example:

"d5b0f4a9-b4c3-5e2d-9c8f-6b0e1d2f3a4b"

Response

Organization 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