Creates a checkout session from a secure server using an API Key. If you have a Customer token, see the Storefront API Create Checkout endpoint.
Authorizations
AuthorizationstringRequired
An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
Path parameters
storeIdstringRequired
Body
Request to create a new checkout session from your back-end server using the management API.
customer_id needs to be specified explicitly here instead of using a Customer token.
subscriptionnull | booleanOptionalDeprecated
Whether this checkout creates a subscription.
DEPRECATED: Use 'subscription' field in 'lines' array objects instead.