UserSubscription
Customer-facing membership subscription APIs for sales channel storefronts. Provides the active membership plan for a sales channel and subscription details for authenticated customers including savings breakdown and order history.
Apply membership cohort pricing to a cart before rendering. Called synchronously by the storefront before fetching the cart breakup. Requires authentication via sales channel customer JWT.
Apply membership cohort pricing to cart
applyMembershipCartPricing
View subscription details, savings breakdown, and per-order savings history for authenticated customers. Requires a sales channel customer JWT.
Get customer subscription details
getCustomerSubscription
View the active membership plan for a sales channel. This is a public endpoint accessible without authentication, allowing storefront themes to display membership plan details to all visitors.