CRM
Move CRM list entry stage
PATCH
/
v1
/
crm
/
lists
/
{listID}
/
entries
/
{objectKind}
/
{objectID}
/
stage
Move CRM list entry stage
curl --request PATCH \
--url https://api.wazapin.com/v1/crm/lists/{listID}/entries/{objectKind}/{objectID}/stage \
--header 'Content-Type: application/json' \
--data '
{
"stage_id": "<string>",
"position": 123
}
'const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({stage_id: '<string>', position: 123})
};
fetch('https://api.wazapin.com/v1/crm/lists/{listID}/entries/{objectKind}/{objectID}/stage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/crm/lists/{listID}/entries/{objectKind}/{objectID}/stage"
payload = {
"stage_id": "<string>",
"position": 123
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"added_by": "<string>",
"attributes": "<unknown>",
"created_at": "<string>",
"display_name": "<string>",
"list_id": "<string>",
"object_id": "<string>",
"object_kind": "<string>",
"position": 123,
"updated_at": "<string>",
"stage_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}⌘I
Move CRM list entry stage
curl --request PATCH \
--url https://api.wazapin.com/v1/crm/lists/{listID}/entries/{objectKind}/{objectID}/stage \
--header 'Content-Type: application/json' \
--data '
{
"stage_id": "<string>",
"position": 123
}
'const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({stage_id: '<string>', position: 123})
};
fetch('https://api.wazapin.com/v1/crm/lists/{listID}/entries/{objectKind}/{objectID}/stage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/crm/lists/{listID}/entries/{objectKind}/{objectID}/stage"
payload = {
"stage_id": "<string>",
"position": 123
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"added_by": "<string>",
"attributes": "<unknown>",
"created_at": "<string>",
"display_name": "<string>",
"list_id": "<string>",
"object_id": "<string>",
"object_kind": "<string>",
"position": 123,
"updated_at": "<string>",
"stage_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}