Create Session
Checkout
Create Session
Create a new checkout session for a customer with cart items.
POST
Create Session
The
Each entry in
session_id returned by this endpoint must be used for all subsequent checkout operations, including Send OTP and Verify OTP.
Sessions expire after 1 hour of inactivity if not completed. The
country_code must be in ISO 3166-1 alpha-2 format (e.g. IN, US).items is the full Shopify cart line-item object. Pass it through as-is from the storefront cart — product_id, variant_id, and quantity are the required fields; the rest enrich analytics and display.