PUT https://:account.api-us1.com/api/3/deals/id
- JSON
{
"deal": {
"contact": "51",
"description": "This deal is an important deal",
"currency": "usd",
"group": "1",
"owner": "3",
"percent": 0,
"stage": "1",
"status": 1,
"title": "New Deal",
"value": 10000
}
}
200 OK
PATH PARAMS
id REQUIRED
int32 Deal's id
BODY PARAMS
deal
object deal.description
deal.title
string Deal's title.
deal.description
string Deal's description
deal.contact
string Deal's primary contact id.
deal.value
int32 Deal's value in cents. (i.e. $456.78 => 45678). Must be greater than or equal to zero.
deal.currency
string Deal's currency in 3-digit ISO format, lowercased.
deal.group
string Deal's pipeline id. Deal's stage or
deal.stage
should belong to deal.group
.deal.stage
string Deal's stage id.
deal.stage
should belong to Deal's pipeline or deal.group
.deal.owner
string Deal's owner id.
deal.percent
int32 Deal's percentage.
deal.status
int32 Deal's status.
To update a deal, following permissions are required.
- Deal permission: the user should have a permission to manage deals.
- Pipeline-specific permission: the user should have a permission to manage the pipeline the updating deal belongs to.
- Deal reassign permission: if assigning the deal to another user, this permission is required.
By default, the deal stage is also returned in the response. If deal.contact
was provided in the request, the primary contact is also returned in the response.
Opmerkingen
0 opmerkingen
Artikel is gesloten voor opmerkingen.