Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 9.01 KB

updatedealrequest.md

File metadata and controls

29 lines (24 loc) · 9.01 KB

UpdateDealRequest

Example Usage

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",
    },
  },
};

Fields

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
}
]
}
]
}