Skip to content

Files

Latest commit

54b881d · Mar 20, 2025

History

History
28 lines (23 loc) · 7.33 KB

updatecontactrequest.md

File metadata and controls

28 lines (23 loc) · 7.33 KB

UpdateContactRequest

Example Usage

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

let value: UpdateContactRequest = {
  contactId: "<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
contactId string ✔️ The ID of the contact to update.
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
}
]
}
]
}