Authorizations
API key for authentication
Path Parameters
Body
Subscription recast input serializer; similar to SubscriptionInputUpgradeSerializer but with adjustment credits.
The start date of the subscription
The length of the contract in months
x >= 1The billing frequency
MONTHLY- MonthlyQUARTERLY- QuarterlySEMI_ANNUALLY- Semi-annuallyANNUALLY- AnnuallyALL_UPFRONT- All upfront
MONTHLY, QUARTERLY, SEMI_ANNUALLY, ANNUALLY, ALL_UPFRONT The bricks included in subscription recast. Quantity is used to update the add-on quantity (ie. adding 2 more units should be quantity 2 -> quantity 4). For usage, quantity is used to set the pre-commitment (ie. previously having 5 pre-commitment quantity and updating it to 10 would update the pre-commitment quantity to 10.)
Credit that will be applied against future invoices
The label for the adjustment credit. Defaults to 'Adjustment credit'
Optional plan id to switch plans, otherwise it will use the base order's latest plan version.
Discount coupon codes to apply to the subscription. Currently only supports one discount coupon - only the first one in the list will be applied.
The number of days from an invoice being generated that the buyer is expected to pay in
0 <= x <= 999The medium by which the order is agreed.
ORDER_FORM- Order formSTRIPE- Stripe
ORDER_FORM, STRIPE The custom order form html to use with <html><body>...</body></html> formatting
Optional metadata to add to the subscription. Sending an empty map will delete all keys. Keys prefixed with _ are private and will be ignored.
Response
Order serializer for the subscription endpoints.