Update a subscription upgrade
Updates a subscription upgrade order. This endpoint allows you to modify bricks, AP contacts, and other properties for an existing upgrade order.
How plan_id affects pricing:
plan_idomitted — the upgrade keeps the subscription’s current plan version and contracted pricing (customers stay grandfathered). Ifbricksincludes a brick that doesn’t exist on the current plan version, it is pulled in from that plan’s latest published version, producing a merged plan version.plan_idprovided — the upgrade switches to the latest published version of the referenced plan. Ifbricksreferences a brick that only exists on the subscription’s prior plan version, it is carried over into a merged plan version.plan_idmay reference a different plan than the subscription’s current plan; that is how cross-plan upgrades are expressed.plan_idis only honoured whenbricksis also provided. Sendingplan_idwithoutbricksreturns 400.
Documentation Index
Fetch the complete documentation index at: https://docs.salesbricks.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication
Path Parameters
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$^([a-zA-Z\d\-]+)$Body
Subscription input serializer for upgrade PATCH operations. Excludes immutable fields: contract_length, billing_frequency, currency.
These fields are inherited from the base order and cannot be changed during an upgrade. starts_at IS allowed to be changed (e.g., for Kognitos integration).
The start date of the subscription.
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 contract period for renewals in months. If null, inherits from initial contract period.
x >= 1The percentage rate to uplift renewal pricing. If null, no uplift is applied.
^-?\d{0,3}(?:\.\d{0,2})?$The medium by which the order is agreed.
ORDER_FORM- Order formSTRIPE- Stripe
ORDER_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 Date
CONTRACT_START_DATE, CHECKOUT_DATE