Skip to main content
PUT
/
api
/
rest
/
companies
/
{id}
Update company
curl --request PUT \
  --url https://api.upwell.com/api/rest/companies/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "input": {
    "createdAt": "2023-11-07T05:31:56Z",
    "deletedAt": "2023-11-07T05:31:56Z",
    "dunsNumber": "<string>",
    "id": "<string>",
    "logoUrl": "<string>",
    "mcNumber": "<string>",
    "name": "<string>",
    "primaryEmailAddress": "<string>",
    "primaryPhone": "<string>",
    "sourceSystem": "<string>",
    "sourceSystemId": "<string>",
    "sourceSystemMeta": "<unknown>",
    "tenantId": "<string>",
    "termsOfService": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "website": "<string>"
  }
}
'
{
  "updateCompany": {
    "createdAt": "2023-11-07T05:31:56Z",
    "deletedAt": "2023-11-07T05:31:56Z",
    "dunsNumber": "<string>",
    "id": "<string>",
    "logoUrl": "<string>",
    "mcNumber": "<string>",
    "name": "<string>",
    "primaryEmailAddress": "<string>",
    "primaryPhone": "<string>",
    "sourceSystem": "<string>",
    "sourceSystemId": "<string>",
    "termsOfService": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "website": "<string>"
  }
}

Headers

authorization
string

Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY

Path Parameters

id
string
required

"id" is required (enter it either in parameters or request body)

Body

application/json

Query parameters can also be provided in the request body as a JSON object

id
string
input
CompaniesSetInput Ā· object

input type for updating data in table "companies"

Response

200 - application/json

Responses for PUT /api/rest/companies/{id}

updateCompany
Companies Ā· object

Companies table - stores all company entities with their branding, contact info, and MC numbers. Each tenant can have multiple companies for different divisions or legal entities.