Reactivate subscription

Reverse a pending end-of-period cancellation.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Overview

Reverse a pending end-of-period cancellation so the subscription renews again. subscription_id is required. Only works on an auto-renew subscription that is currently in its grace period (set to cancel); gift subscriptions cannot be reactivated. Returns the customer resource with a fresh JWT.

Example:

curl --request POST \
  --url 'https://www.pelcro.com/api/v1/sdk/subscription/reactivate?site_id=1232' \
  --header 'Authorization: Bearer <JWT>' \
  --header 'Content-Type: application/json' \
  --data '{ "subscription_id": 4055 }'

Notes

  • Protected — requires the customer's JWT.
  • Missing/unknown subscription, non-auto-renew plans, and subscriptions not in a grace period all return 404 with a message.
Query Params
int32
required

The unique identifier of the site associated with your account.

Body Params
int32
required

The unique identifier of the subscription to reactivate.

Responses

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json