Skip to main content
POST
/
api
/
subscriptions
/
{subscriptionId}
/
resume
cURL
curl --request POST \
  --url https://api.pricenow.dev/api/subscriptions/{subscriptionId}/resume \
  --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>"
  }
}

Headers

accept-language
enum<string>
required

Language of the response

Available options:
en,
de,
fr,
it
pratiq-channel-uuid
string
required

UUID of the sales channel

Path Parameters

subscriptionId
number
required

Response

200 - application/json

Successful response

data
object
required