Skip to content

Files

Latest commit

54b881d · Mar 20, 2025

History

History
29 lines (24 loc) · 9.02 KB

updatecompanyrequest.md

File metadata and controls

29 lines (24 loc) · 9.02 KB

UpdateCompanyRequest

Example Usage

import { UpdateCompanyRequest } from "mcp-hubspot/models/operations";

let value: UpdateCompanyRequest = {
  companyId: "<id>",
  simplePublicObjectInput: {
    properties: {
      "amount": "1500.00",
      "dealname": "Custom data integrations",
      "pipeline": "default",
      "closedate": "2019-12-07T16:50:06.678Z",
      "dealstage": "presentationscheduled",
      "hubspot_owner_id": "910901",
    },
  },
};

Fields

Field Type Required Description Example
companyId string ✔️ N/A
idProperty string The name of a property whose values are unique for this object
simplePublicObjectInput components.SimplePublicObjectInput ✔️ N/A {
"properties": {
"amount": "1500.00",
"dealname": "Custom data integrations",
"pipeline": "default",
"closedate": "2019-12-07T16:50:06.678Z",
"dealstage": "presentationscheduled",
"hubspot_owner_id": "910901"
},
"associations": [
{
"to": {
"id": "101"
},
"types": [
{
"associationCategory": "HUBSPOT_DEFINED",
"associationTypeId": 2
}
]
}
]
}