Open a deal
post/crm/deals
Before you call
- Credential
Authorization: Bearer $KEY- Scope
contacts:write- Graphql
Mutation.contactsDealCreate- Sdk
contacts.deal.create- Cli
contacts deal create
Request bodyapplication/json, required
- namestringrequiredAt most 200 characters.
- pipelineIdstring (uuid)required
- stagestringPattern: ^[a-z][a-z0-9_]{0,39}$.
- amountMinorintegerAt least 0. At most 1000000000000.
- currencystringAt most 3 characters.
- contactIdstring (uuid) or null
- companyIdstring (uuid) or null
- ownerstring or null
- closeDatestring or null
- customobject
Responses
- 201application/jsonSuccess
object - 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring