import { UpdateDealRequest } from "mcp-hubspot/models/operations";
let value: UpdateDealRequest = {
dealId: "<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",
},
},
};
Field | Type | Required | Description | Example |
---|---|---|---|---|
dealId |
string | ✔️ | N/A | |
idProperty |
string | ➖ | The name of a property whose values are unique for this object type | |
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 } ] } ] } |