curl --request POST \
--url https://api.upwell.com/api/rest/companies \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"addresses": {},
"auditLogs": {},
"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>",
"shipments": {},
"sourceSystem": "<string>",
"sourceSystemId": "<string>",
"sourceSystemMeta": "<unknown>",
"tenant": {},
"tenantId": "<string>",
"termsOfService": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"website": "<string>"
}
}
'{
"createCompany": {
"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>"
}
}Create a new company record.
curl --request POST \
--url https://api.upwell.com/api/rest/companies \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"addresses": {},
"auditLogs": {},
"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>",
"shipments": {},
"sourceSystem": "<string>",
"sourceSystemId": "<string>",
"sourceSystemMeta": "<unknown>",
"tenant": {},
"tenantId": "<string>",
"termsOfService": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"website": "<string>"
}
}
'{
"createCompany": {
"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
Query parameters can also be provided in the request body as a JSON object
input type for inserting data into table "companies"
Show child attributes
AddressesArrRelInsertInput (simplified)
AuditLoggedActionsArrRelInsertInput (simplified)
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
ShipmentsArrRelInsertInput (simplified)
TenantsObjRelInsertInput (simplified)
A timestamp with timezone in ISO 8601 format, such as 2024-12-16T21:57:14.525733+00:00
Responses for POST /api/rest/companies
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