Through REST or GraphQL APIs. The frontend makes API calls to fetch product data, manage carts, and process checkout. Spree Commerce uses a REST API with OpenAPI 3.0 specs and a TypeScript SDK, so frontend teams get type safety and autocomplete in their IDE. Mobile teams can generate Swift or Kotlin clients directly from the OpenAPI spec without writing API integration code manually.
How does a headless ecommerce platform connect to a frontend?
Written by: Mike Faber • Spree Evangelist. Co-founder and CEO of Vendo.
Mike is a Spree Evangelist, promoting the platform's features and keeping the community updated on its roadmap. Mike is also a co-founder and CEO of Vendo, a major Spree contributor and provider of its Enterprise Edition, getting you more features, more security, more integrations so you can go live faster and get all the latest improvements first.