Updates a subscription upgrade order. This endpoint allows you to modify bricks, AP contacts, and other properties for an existing upgrade order.
API key for authentication
Subscription input serializer for upgrade PATCH operations. Excludes immutable fields: starts_at, contract_length, billing_frequency, currency.
These fields are inherited from the base order and cannot be changed during an upgrade.
The ID of the plan
The bricks included in the subscription
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 ID of the point of contact (Person) object
The ID of the signatory user (Person) object
Whether the subscription auto-renews. Defaults to true.
List of email addresses for accounts payable contacts
The ID of the customer
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 - StripeORDER_FORM, STRIPE Optional metadata to add to the subscription. Sending an empty map will delete all keys. Keys prefixed with _ are private and will be ignored.
The custom order form html to use with <html><body>...</body></html> formatting
Configuration for accepted payment methods during checkout and paywall
When the first invoice should be charged. If not provided, defaults to seller's first_charge_date setting, or CHECKOUT_DATE if seller has no setting.
CONTRACT_START_DATE - Contract Start DateCHECKOUT_DATE - Checkout DateCONTRACT_START_DATE, CHECKOUT_DATE