POST /crm/v3/objects/0-3
Create a deal with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard deals is provided.
Servers
- https://api.hubapi.com
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
associations[] |
Array | Yes | |
associations[].to |
Object | Yes |
Contains the Id of a Public Object |
associations[].to.id |
String | Yes |
The unique ID of the object. |
associations[].types[] |
Array | Yes | |
associations[].types[].associationCategory |
String | Yes |
The category of the association, such as "HUBSPOT_DEFINED". Valid values:
|
associations[].types[].associationTypeId |
Integer | Yes |
The ID representing the specific type of association. |
properties |
Object | Yes |
Key-value pairs for setting properties for the new object. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.