Upgrade Subscription To Prepaid
This endpoint will allow you to upgrade a pay-as-you-go subscription to a prepaid subscription
Authentication
x-api-keystring
API Key authentication via header
Path parameters
subscription_id
Unique subscription ID
Request
This endpoint expects an object.
orders_per_billing
An integer greater than 2
renewal_behavior
Allowed values:
offer
An optional field that if populated will switch which offer the subscription is associated with after upgrade. You can provide the public-id of the offer that you would like to swap the subscription to, or the string “live” which will re-associate the subscription with your currently live offer
Response
200
customer
merchant
product
payment
shipping_address
offer
subscription_type
raw_subscription_type
components
extra_data
public_id
quantity
price
frequency_days
reminder_days
every
every_period
start_date
cancelled
cancel_reason
iteration
sequence
session_id
merchant_order_id
created
updated
live
external_id
product_attribute
cancel_reason_code
customer_rep
club
queued_actions
prepaid_subscription_context
Errors
400
Bad Request Error