Storefront JavaScript Client

The Storefront JavaScript Client is a powerful tool, designed to integrate your web-based applications seamlessly with the Afosto ecosystem. It provides a streamlined, flexible, and efficient means to interact with Afosto's robust set of e-commerce APIs, bridging your store with the rich features offered by the Afosto platform.

Primarily, the Storefront JavaScript Client allows developers to communicate with the Afosto API directly from your application's frontend. It is built on modern JavaScript standards, making it both versatile and easy to incorporate within your project. With its encapsulated functions, you can execute operations such as managing shopping carts, handling checkout processes, processing orders, and interacting with various other essential Afosto Storefront components.

The client also includes many pre-defined GraphQL fragments, mutations, and queries, offering you the ability to swiftly implement common operations, yet also the flexibility to define custom operations tailored to your specific requirements. Test and write your queries and mutations in our GraphQL playground.

This documentation will walk you through all the key aspects of working with the Storefront JavaScript Client. You'll learn how to get started, how to execute the basic operations, and how to leverage the advanced features of this powerful client. Whether you're just starting out or looking to dive deeper into the client's capabilities, this guide will provide the insight you need to maximize the power of the Storefront JavaScript Client within your application.