Exporta as assinaturas da comunidade em CSV
GET/api/manage/subscriptions/export.csv
- Auth
- Requires a token
- Who can call it:
- owner
- admin
- finance
- X-CommunityId
X-CommunityIdSend the X-CommunityId of the community the operation happens in.
Endpoint descriptions come straight from the API specification and are in Portuguese for now. The interface around them is translated.
F-45. Owner, admin ou finance. Mesmos filtros da listagem, sem paginação (até 5.000 linhas). Colunas: id, member, email, plan, option, status, billingAmount, currency, discountPercent, addOns, paymentMethod, nextBillingDate, currentPeriodEnd, commitmentEndsAt, source, complimentaryUntil, startDate, canceledAt. UTF-8 com BOM; célula que começaria uma fórmula vem com `'` na frente.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
statusoptional | query | string | |
productIdoptional | query | string (uuid) | |
subscriptionGroupIdoptional | query | string (uuid) | |
fromoptional | query | string (date-time) | |
tooptional | query | string (date-time) | |
searchoptional | query | string |
Headers
| Name | Type | Description |
|---|---|---|
X-CommunityIdoptional | string (uuid) | ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade. |
Responses
| Status | Description |
|---|---|
200 | CSV, uma linha por assinatura. |
400 | Requisição inválida — falha de validação. |
401 | Token ausente, inválido ou expirado. |
403 | Autenticado, mas sem permissão para esta operação. |
500 | Erro interno do servidor. |
curl example
curl -X GET "https://api.memberfy.net/api/manage/subscriptions/export.csv" \
-H "Authorization: Bearer $TOKEN" \
-H "X-CommunityId: $COMMUNITY_ID"