Documentation
Feedback
Guides
Storefront Development

Storefront Development
FastStore
FastStore API
FastStore API is an interface between your ecommerce platform and your store's frontend. It uses GraphQL, a query language for APIs and a runtime for fulfilling queries, to deliver structured data from everyday ecommerce tasks to frontend components.
The FastStore API allows you to obtain all the information you need for a given page, and customize your query to get exactly the data you need. With the FastStore API, you can:
  • Retrieve product information.
  • Add items to the cart.
  • Apply promotions to products.
  • Filter search results.
Also, thanks to a type-safe GraphQL protocol, the FastStore API allows developers to retrieve only the strongly typed data needed for building robust and responsive solutions. In practice, developers can integrate the FastStore API with the Next.js data layers and consume it on frontend components to create stores.
To learn more about GraphQL and its main concepts, visit the official GraphQL website.

Going beyond

For advanced use cases, it is also possible to use the API extension feature to enhance your GraphQL schema, accommodating custom data requirements and retrieving data not natively available. Following these best practices helps to maintain your site's performance at optimal levels.
Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page