Move Deal
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/crm/deals/{deal_id}/move \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"stage_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"before_deal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"after_deal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/crm/deals/{deal_id}/move"
payload = {
"stage_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"before_deal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"after_deal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
stage_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
before_deal_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
after_deal_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/crm/deals/{deal_id}/move', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));CRM
Move Deal
Move a deal to a stage, optionally between two deals of that stage.
POST
/
api
/
v1
/
crm
/
deals
/
{deal_id}
/
move
Move Deal
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/crm/deals/{deal_id}/move \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"stage_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"before_deal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"after_deal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/crm/deals/{deal_id}/move"
payload = {
"stage_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"before_deal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"after_deal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
stage_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
before_deal_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
after_deal_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/crm/deals/{deal_id}/move', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));