Create a deal on an account
POST
/dealsRequires scope: write:deals
Parameters
| Parameter | In | Type | Description |
|---|---|---|---|
Idempotency-Key | header | string |
Request body
| Field | Type | Allowed values | Description |
|---|---|---|---|
store_idrequired | string | any string | |
namerequired | string | any string | |
value | number | any number | |
stage | string | contactedrepliedcall_bookedproposalwonlost | |
next_step | string | any string | |
next_step_due | string | any string |
Responses
| Status | Description |
|---|---|
201 | Created |
400 | Invalid body |
401 | Missing or invalid API key |
403 | Key lacks the required scope |
429 | Rate limit exceeded (see Retry-After) |
Is this page helpful?