Zum Hauptinhalt springen
POST
/
deals
/
v1
/
deal
Create a deal
curl --request POST \
  --url https://api.hubapi.com/deals/v1/deal/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "properties": [
    {
      "name": "<string>",
      "value": "<string>"
    }
  ],
  "associations": {
    "associatedCompanyIds": [
      123
    ],
    "associatedVids": [
      123
    ]
  }
}
'
{
  "portalId": 123,
  "dealId": 123,
  "isDeleted": true,
  "associations": {},
  "properties": {}
}

Body

application/json
properties
object[]
associations
object

Antwort

200 - application/json

Successful response - Deal created successfully

portalId
integer
dealId
integer
isDeleted
boolean
associations
object
properties
object
Last modified on April 9, 2026