Move deal to milestone

Moves a deal to another milestone of its track.

POST https://cotlet.dev/api/v1/agile-crm/deals/{deal_id}/move

write

Changes the milestone and returns the deal with its new milestone. A milestone name the track does not have fails and the deal stays where it is. Moving a deal reaches no customer and is undone with one more call, so it does not wait for your OK.

Parameters

Parameters: move_deal
NameTypeDescription
deal_id string required string Deal id from list_deals
milestone string required string Milestone name as the deal's track shows it

Request

cURL
curl -X POST https://cotlet.dev/api/v1/agile-crm/deals/deal_8c41d2/move \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"milestone":"milestone"}'
Python
result = client.call("agile-crm", "move_deal", {"deal_id":"deal_8c41d2","milestone":"milestone"})
Node.js
const result = await cotlet.call('agile-crm', 'move_deal', {"deal_id":"deal_8c41d2","milestone":"milestone"});
CLI
cotlet call agile-crm move_deal --data '{"deal_id":"deal_8c41d2","milestone":"milestone"}'

Example response

JSON

{
  "deal_id": "5655120934133760",
  "name": "Ortega Print rollout",
  "previous_milestone": "Proposal",
  "milestone": "Negotiation",
  "value": 9500
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.