Devuelve el listado de cursos online del negocio. Paginado por query string: limit (default 25) y page.
Tiendup Public API (1.0.0)
API pública para integrar Tiendup 🔑 Para obtener una API Key, sigue los pasos de la documentación:
¿Cómo obtener tu API Key de Tiendup?
Download OpenAPI description
Overview
Tiendup
Languages
Servers
https://{business_slug}.public-api.tiendup.com
- https://demo.public-api.tiendup.com/learning/courses
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://demo.public-api.tiendup.com/learning/courses?limit=25&page=1' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "status": "OK", "data": [ { … } ], "countFiltered": 0, "count": 0, "previous": 0, "current": 0, "pages": 0, "next": 0 }
- https://demo.public-api.tiendup.com/learning/courses/{course_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://demo.public-api.tiendup.com/learning/courses/11779 \
-H 'X-API-Key: YOUR_API_KEY_HERE'OK
Example: []
Example: "http://cdn.example.com/develop/business/265/products/WGwJyW_615605ac1da50.jpg"
En el ejemplo viene vacÃo; se deja genérico.
Example: []
Example: "/curso/introduccion-a-huerta-organica/lesson/258"
Tipo de contenido (video, pdf, audio, multimedia, etc.)
Example: "video"
Duración (en segundos) como string según API.
Example: "124"
Example: "https://cdn.example.com/develop/business/265/customers/265_avatar_615478fbbd029.png"
One of:
string
En el ejemplo viene vacÃo; se deja genérico.
Example: []
Response
application/json
{ "status": "OK", "data": { "id": 11939, "business_id": 265, "type": "online", "product_id": 11939, "code": null, "status": "published", "language": "es", "name": "Curso desde Mobile", "creation_date": "2020-09-23 18:35:16", "description": null, "slug": "curso-desde-mobile", "release_date": null, "categories": null, "image": null, "images": [], "total_rating": 0, "total_reviews": 0, "access_type": "free", "completion_certificate": false, "forum_enabled": false, "total_enrollments": 5, "requeriments": null, "target_students": null, "learning_goals": null, "forum_category_id": 0, "promotional_video": [], "sequential_progress": false, "instructors": [], "modules": [ … ], "discussions": [ … ], "subscriptions_billing_plans": [], "certificate": { … } } }
- https://demo.public-api.tiendup.com/learning/courses/{course_id}/enrolled
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://demo.public-api.tiendup.com/learning/courses/11779/enrolled?limit=25&page=1' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "countFiltered": 0, "count": 0, "previous": 0, "current": 0, "pages": 0, "next": 0, "status": "OK", "data": [ { … } ] }
- https://demo.public-api.tiendup.com/learning/customers/{customer_id}/courses
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://demo.public-api.tiendup.com/learning/customers/40737/courses?limit=25&page=1' \
-H 'X-API-Key: YOUR_API_KEY_HERE'OK
Puede venir como string o integer.
One of:
Puede venir como string o integer.
integer
Example: [{"id":1000,"name":"Huertas","slug":"huertas"}]
One of:
Example: "https://cdn.example.com/business/535/products/gNkY0D_5e85f2cd3948f.jpg"
Example: "https://cdn.example.com/business/535/products/gNkY0D_5e85f2cd3948f.jpg"
Response
application/json
{ "countFiltered": 0, "count": 0, "previous": 0, "current": 0, "pages": 0, "next": 0, "status": "OK", "data": [ { … } ] }
- https://demo.public-api.tiendup.com/learning/courses/{course_id}/enrolled/{customer_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://demo.public-api.tiendup.com/learning/courses/{course_id}/enrolled/{customer_id}' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"enrollment_type": "free"
}'Response
application/json
{ "status": "OK" }
Request
Inscribe a un cliente en un curso usando su email. Si el cliente no existe, se crea con los datos provistos.
Security
ApiKeyAuth
- https://demo.public-api.tiendup.com/learning/courses/{course_id}/enroll
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://demo.public-api.tiendup.com/learning/courses/{course_id}/enroll' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"customer": {
"email": "customer7@example.com",
"name": "DARRIO",
"last_name": "Perez"
},
"enrollment_type": "free"
}'Response
application/json
{ "status": "OK" }
- https://demo.public-api.tiendup.com/learning/customers/{customer_id}/courses/{course_id}/enrollment
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://demo.public-api.tiendup.com/learning/customers/{customer_id}/courses/{course_id}/enrollment' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "status": "OK", "data": { "id": 1155, "creation_date": "2026-02-22 09:14:28", "completed_date": null, "is_completed": true, "progress": 0, "rating": "0", "status": "free", "review_status": "pending", "expired": true, "activation_date": "2026-02-22 15:52:54", "expiration_date": null, "current_lesson_id": 0, "customer": { … }, "course": { … }, "certificates": [ … ] } }
- https://demo.public-api.tiendup.com/learning/customers/{customer_id}/courses/{course_id}/enrollment
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://demo.public-api.tiendup.com/learning/customers/{customer_id}/courses/{course_id}/enrollment' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "status": "OK" }