Create Deal

POST
/crm/deals

Create a new deal

Headers

x-revert-api-tokenstringRequired

Your official API key for accessing revert apis.

x-revert-t-idstringRequired

The unique customer id used when the customer linked their account.

x-api-versionstringOptional

Optional Revert API version you’re using. If missing we default to the latest version of the API.

Request

This endpoint expects an object.
additionalanyRequired

Any fields that are not unified yet/non-unifiable come inside this json object.

amountintegerRequired

The deal amount mentioned in the CRM for this deal.

expectedCloseDateanyRequired

Expected close date for this deal. (not supported by pipedrive search api)

isWonbooleanRequired

Is true if the deal is closed (won).

namestringRequired

The name of the deal in a CRM.

probabilityintegerRequired

Probability of the deal getting closed, a decimal number between 0 to 1 (inclusive).

stagestringRequired

Deal stage in the CRM.

associationsobjectOptional
prioritystringOptional

The priority attached to this deal. (not supported by pipedrive)

Response

This endpoint returns an object.
status"ok" or "error"
Allowed values: okerror
messagestring
resultany