Create a deal on an account
POST
/dealsRequires scope: write:deals
Parameters
| Parameter | In | Type | Description |
|---|---|---|---|
Idempotency-Keyrequired | header | string | Stable logical request ID required for every machine mutation; exact retries replay and changed inputs conflict. |
Request body
| Field | Type | Allowed values | Description |
|---|---|---|---|
store_idrequired | string | any string | |
namerequired | string | any string | |
value | number | any number | |
stage | string | discoveryqualifyingproposalnegotiationwonlost | |
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?