Create a session

Creates custom order sessions with various configurations, such as single product sessions, price overrides, coupons, and custom tags.

Body Params
string

FastSpring-generated customer account ID. Required for sessions that use an existing account.

contact
object

Contact information for the customer. Used when an account ID is not provided.

If an account already exists for this email, FastSpring will associate it with the session and may update the account details.

lookup
object

Optional lookup configuration for resolving or linking accounts using a custom key.

tags
object

Order-level tags as key-value pairs. These can be used for categorization, reporting, or integration workflows.

string

Valid coupon code (not coupon ID) applied to the order.

items
array of objects
required

One or more items to include in the session. Each item can represent a product, subscription, or advanced configuration (such as price overrides and custom attributes).

items*
Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json