Move a client between stages
curl --request PATCH \
--url https://api.dialtu.com/api/v2/public/salesflow/pipelines/{pipeline_id}/clients/{client_id}/move \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"target_stage_id": 123
}
'import requests
url = "https://api.dialtu.com/api/v2/public/salesflow/pipelines/{pipeline_id}/clients/{client_id}/move"
payload = { "target_stage_id": 123 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({target_stage_id: 123})
};
fetch('https://api.dialtu.com/api/v2/public/salesflow/pipelines/{pipeline_id}/clients/{client_id}/move', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"message": "<string>",
"success_count": 0,
"skipped_count": 0
}Salesflow pipelines
Move a client between stages
Move a client to another stage of the same pipeline.
Takes the client ID (the same ID returned by List clients in a pipeline).
Moves that the pipeline’s stage rules forbid are rejected with
MOVE_NOT_ALLOWED; an unknown target stage returns NOT_FOUND.
PATCH
/
api
/
v2
/
public
/
salesflow
/
pipelines
/
{pipeline_id}
/
clients
/
{client_id}
/
move
Move a client between stages
curl --request PATCH \
--url https://api.dialtu.com/api/v2/public/salesflow/pipelines/{pipeline_id}/clients/{client_id}/move \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"target_stage_id": 123
}
'import requests
url = "https://api.dialtu.com/api/v2/public/salesflow/pipelines/{pipeline_id}/clients/{client_id}/move"
payload = { "target_stage_id": 123 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({target_stage_id: 123})
};
fetch('https://api.dialtu.com/api/v2/public/salesflow/pipelines/{pipeline_id}/clients/{client_id}/move', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"message": "<string>",
"success_count": 0,
"skipped_count": 0
}Autorizaciones
API key created in the dashboard under Settings → API Keys. Send it as Authorization: Bearer pk_....
Parámetros de ruta
ID of the pipeline. Shown in the Salesflow editor URL and in the pipeline settings.
ID of the client to move.
Cuerpo
application/json
Move a client to a different stage.
Stage to move the client to.
Respuesta
OK
Response for pipeline add/remove/move operations.