curl --request GET \
--url https://api.pricenow.dev/api/subscriptions/current \
--header 'accept-language: <accept-language>' \
--header 'pratiq-channel-uuid: <pratiq-channel-uuid>'{
"data": [
{
"id": 123,
"status": "<string>",
"renewal": {
"period": "DAYS",
"daysAmount": 123
},
"startedAt": "<string>",
"owner": {
"id": 123,
"accountId": 123,
"formDefinition": {},
"defaultValues": {},
"values": {},
"isOwner": true
},
"product": {
"id": 123,
"sortOrder": 123,
"name": "<string>",
"translation": "<string>",
"identifier": "<string>",
"type": "TICKET",
"isSubscription": true,
"standalone": true,
"hasValidity": true
},
"minRunPeriodEndsAt": "<string>",
"minRunPeriods": 123,
"currentPeriod": 123,
"suspendedAt": "<string>",
"endedAt": "<string>",
"type": "bundle",
"subscriptionItems": [
{
"ticket": {
"id": 123,
"system": "SKIDATA",
"status": "REFUNDED"
},
"keycard": {
"id": 123,
"dataCarrierId": "<string>",
"personId": 123,
"metaInformation": {},
"type": "SKIDATA"
},
"person": {
"id": 123,
"accountId": 123,
"formDefinition": {},
"defaultValues": {},
"values": {},
"isOwner": true
}
}
],
"isCanceled": true,
"renewsAt": "<string>",
"endsAt": "<unknown>"
}
]
}Get all subscriptions for the current account
curl --request GET \
--url https://api.pricenow.dev/api/subscriptions/current \
--header 'accept-language: <accept-language>' \
--header 'pratiq-channel-uuid: <pratiq-channel-uuid>'{
"data": [
{
"id": 123,
"status": "<string>",
"renewal": {
"period": "DAYS",
"daysAmount": 123
},
"startedAt": "<string>",
"owner": {
"id": 123,
"accountId": 123,
"formDefinition": {},
"defaultValues": {},
"values": {},
"isOwner": true
},
"product": {
"id": 123,
"sortOrder": 123,
"name": "<string>",
"translation": "<string>",
"identifier": "<string>",
"type": "TICKET",
"isSubscription": true,
"standalone": true,
"hasValidity": true
},
"minRunPeriodEndsAt": "<string>",
"minRunPeriods": 123,
"currentPeriod": 123,
"suspendedAt": "<string>",
"endedAt": "<string>",
"type": "bundle",
"subscriptionItems": [
{
"ticket": {
"id": 123,
"system": "SKIDATA",
"status": "REFUNDED"
},
"keycard": {
"id": 123,
"dataCarrierId": "<string>",
"personId": 123,
"metaInformation": {},
"type": "SKIDATA"
},
"person": {
"id": 123,
"accountId": 123,
"formDefinition": {},
"defaultValues": {},
"values": {},
"isOwner": true
}
}
],
"isCanceled": true,
"renewsAt": "<string>",
"endsAt": "<unknown>"
}
]
}