Listado de suscripciones
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/subscriptions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://demo.public-api.tiendup.com/subscriptions?page=1&limit=25' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "status": "OK", "data": [ { … } ], "countFiltered": "1", "count": "1", "previous": 1, "current": 1, "pages": 1, "next": 1 }
- https://demo.public-api.tiendup.com/subscriptions/{product_id}/subscribers
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://demo.public-api.tiendup.com/subscriptions/13890/subscribers?page=1&limit=25' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "status": "OK", "data": [ { … } ], "countFiltered": 32, "count": "32", "previous": 1, "current": 1, "pages": 2, "next": 2 }
- https://demo.public-api.tiendup.com/subscriptions/{subscription_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://demo.public-api.tiendup.com/subscriptions/2903 \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "status": "OK", "data": { "id": 2903, "hash": "dgwndCoN8W", "number": "38", "status": "inactive", "active": false, "payment_status": "pending", "next_payment_attempt": "string", "payment_attempts": "0", "next_invoice_date": "string", "end_date": "string", "automatic_renewal": true, "creation_date": "string", "trial_period_start_date": "string", "trial_period_end_date": "string", "billing_type": "charge_automatically", "current_period_start": "string", "current_period_end": "string", "installments": 1, "total_periods": 0, "total_paid_periods": 0, "activation_date": "string", "days_until_due": 0, "authorization_required": true, "language_iso": "es", "cancellation_date": "string", "cancellation_policy": "string", "cancel_at": "string", "pay_url": "string", "is_trial": true, "is_free": true, "current_invoice": { … }, "gateway": { … }, "billing_agreement": {}, "external_plan_registered": true, "billing_plan": { … }, "items": [ … ], "total_items": 0, "currency": "string", "currency_symbol": "string", "pricing_period": { … }, "customer": { … }, "sales_channel": { … }, "history": [ … ] } }