Players' Subscriptions

Reactivate Player Subscription

Changed on

Reactivate a player's subscription.

Depending on the current subscription state:

  • reactivates the existing subscription if it is not in a terminal state,
  • creates a new subscription if the previous one has ended,
  • or does nothing if the subscription is already active.
post/v1/players/{player_id}/subscriptions/{subscription_id}/reactivate

Request

  • Base URL
    https://api.aghanim.com/s2s
  • URL
    https://api.aghanim.com/s2s/v1/players/{player_id}/subscriptions/{subscription_id}/reactivate
  • Auth
    HTTP bearer

Path parameters

player_idstring required
subscription_idstring required

Response

Subscription reactivated.

idstring required

Resulting subscription ID.

status'trial' | 'active' | 'grace' | 'canceled' | 'locked' | 'ended' | 'expired' | 'paused' | 'pending' required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • warning

      for the path request parameter subscription_id, the maxLength was set to 32