This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Adds line items to a draft subscription contract.
Returns the updated draft subscription contract with recalculated totals.
You can add 2 types of line items:
catalogReference.appId identifies, through the Catalog service plugin.
The item must come from the same catalog as the subscription contract's existing catalog line items.Added line items get the billing schedule in the draft subscription contract's subscriptionSettings.
Adding an item that's already in the draft subscription contract creates another line item. To change the quantity of an existing line item, call Update Line Items.
A draft subscription contract can have up to 100 line items, including removed line items.
You can add line items only to a draft subscription contract that you created.
Notes:
price of a catalog line item.There are 3 errors with this status code.
There are 2 errors with this status code.
There are 2 errors with this status code.
There are 2 errors with this status code.
There are 5 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.