Subscriptions

Update Personal Subscription

This endpoint returns a stripe URL to add a payment method if the user doesn’t have one. Other way, it changes the subscription from Free to Pro or Free to Pro, depending on the current subscription.

post/subscriptions/update_user_subscription/

Request

  • Base URL
    http://api.cannoli.app/api/v1
  • Auth
    none declared

Request body

idinteger
tier'F' | 'P' | 'T'
status'A' | 'O' | 'P' | 'C'
current_period_startstring date-time
current_period_endstring date-time

Response

Created

Changes

No recorded changes to this operation across all 1 revision of this API.