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>"
}
}Update an existing company by its ID.
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>"
}
}Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY
"id" is required (enter it either in parameters or request body)
Query parameters can also be provided in the request body as a JSON object
input type for updating data in table "companies"
Show child attributes
A timestamp with timezone in ISO 8601 format, such as 2024-12-16T21:57:14.525733+00:00
A timestamp with timezone in ISO 8601 format, such as 2024-12-16T21:57:14.525733+00:00
A timestamp with timezone in ISO 8601 format, such as 2024-12-16T21:57:14.525733+00:00
Responses for PUT /api/rest/companies/{id}
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.
Show child attributes
A timestamp with timezone in ISO 8601 format, such as 2024-12-16T21:57:14.525733+00:00
A timestamp with timezone in ISO 8601 format, such as 2024-12-16T21:57:14.525733+00:00
A timestamp with timezone in ISO 8601 format, such as 2024-12-16T21:57:14.525733+00:00