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

Response

200 - application/json

Successful response - Deal created successfully

The response is of type object.