Create a subscription
Creates a new subscription for a customer.
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
Body
Subscription update input serializer that comes from previously posted subscription estimate.
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 ID of the plan.
The bricks included in the subscription.
The ID of the point of contact (Person) object
The ID of the signatory user (Person) object
The ID of the customer
Optional currency to be used for the subscription. Defaults to USD.
USD- United States DollarEUR- EurosGBP- Great British PoundAUD- Australian DollarCAD- Canadian DollarINR- Indian Rupee
USD, EUR, GBP, AUD, CAD, INR Discount coupon codes to apply to the subscription. Currently only supports one discount coupon - only the first one in the list will be applied.
Whether the subscription auto-renews. Defaults to true.
List of email addresses for accounts payable contacts
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 Response
Common subscription response serializer that includes the ID of the subscription from the result of a subscription related operation.
ID of the subscription