Update Prepaid Subscription
This endpoint will allow you to modify the number of orders remaining, the number of orders per billing, and the renewal behavior for a prepaid subscription at any time during the lifecycle of the 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
A number greater than 1
orders_remaining
A number greater than or equal to 0
renewal_behavior
Allowed values:
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