En Mercately, todo contacto proveniente de conversaciones, compras o creados directamente se clasifica como cliente.
Mercately Retailers API (1.0.0)
La plataforma para desarrolladores de Mercately, está creada para ayudar a todos nuestros clientes y empoderarlos para que crezcan mejor. Nuestras API están diseñadas para permitir que los equipos de cualquier forma o tamaño construyan integraciones y aprovechar al máximo Mercately. Todas las API de Mercately se construyen usando convenciones REST y están diseñadas para tener una estructura de URL predecible. U tilizan muchas funciones HTTP estándar, incluidos métodos (POST, GET, PUT, DELETE) y códigos de respuesta de error.
https://app.mercately.com/
https://mercately.shop/
- Production server
https://app.mercately.com/retailers/api/v1/deals
- Shops API Production server
https://mercately.shop/retailers/api/v1/deals
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://app.mercately.com/retailers/api/v1/deals?funnel_name=Negociaciones&stage=Calificado&page=1' \
-H 'api-key: YOUR_API_KEY_HERE'{ "total": 2, "total_page": 1, "deals": [ { … } ] }
- Production server
https://app.mercately.com/retailers/api/v1/deals
- Shops API Production server
https://mercately.shop/retailers/api/v1/deals
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://app.mercately.com/retailers/api/v1/deals \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"funnel_name": "Negociaciones",
"stage": "Calificado",
"deal": {
"amount": "150000",
"name": "string",
"customer_id": "91989a87",
"agent_id": 0,
"lead_status": "cold",
"opening_date": "2024-05-16",
"expected_close_date": "2024-05-23"
}
}'{ "message": "deal was created successfully", "deal": { "id": "9fb882221", "name": "Neptu", "amount": "150000.0", "currency": "$", "funnel_name": "Negociaciones", "stage": "Calificado!", "agent": { … }, "customer": { … }, "channel": "string" } }
- Production server
https://app.mercately.com/retailers/api/v1/deals/{id}
- Shops API Production server
https://mercately.shop/retailers/api/v1/deals/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://app.mercately.com/retailers/api/v1/deals/{id}' \
-H 'api-key: YOUR_API_KEY_HERE'{ "message": "deal found successfully", "deal": { "id": "9fb882221", "name": "Neptu", "amount": "150000.0", "currency": "$", "funnel_name": "Negociaciones", "stage": "Calificado!", "agent": { … }, "customer": { … }, "channel": "string" } }
- Production server
https://app.mercately.com/retailers/api/v1/deals/{id}
- Shops API Production server
https://mercately.shop/retailers/api/v1/deals/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://app.mercately.com/retailers/api/v1/deals/9c6d04017 \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"funnel_name": "Negociaciones",
"stage": "Calificado",
"deal": {
"amount": "150000",
"name": "Ricardo - pavo",
"customer_id": "91989a87",
"lead_status": "cold",
"opening_date": "2024-05-16",
"expected_close_date": "2024-05-23",
"funnel_name": "Negociaciones",
"stage": "Calificado"
}
}'{ "message": "deal was updated successfully", "deal": { "id": "9fb882221", "name": "Neptu", "amount": "150000.0", "currency": "$", "funnel_name": "Negociaciones", "stage": "Calificado!", "agent": { … }, "customer": { … }, "channel": "string" } }
- Production server
https://app.mercately.com/retailers/api/v1/deals/{id}
- Shops API Production server
https://mercately.shop/retailers/api/v1/deals/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://app.mercately.com/retailers/api/v1/deals/93390836 \
-H 'api-key: YOUR_API_KEY_HERE'{ "message": "deal was deleted successfully" }