Extending the Store API

Your application can change the way the Store API works by extending certain endpoints. It can add data to certain endpoints to make your server-side data available to the client-side.

You can also use the Store API trigger a server-side cart update from the client which will then update the client-side cart with the data returned by the API.

The documents listed below contain further details on how to achieve the above.

Document Description
Exposing your data Explains how you can add additional data to Store API endpoints.
Available extensible endpoints A list of all available endpoints to extend.
Available Formatters Available Formatters to format data for use in the Store API.
Updating the cart on-demand Update the server-side cart following an action from the front-end.
Adding fields and passing values How to add custom fields to Store API endpoints.
Marking a cart item as a child Declare a parent for a child cart item in a Store API response.

版本号 #2
由 壳壳虫 创建于 2026-10-31 13:11:47 UTC
由 壳壳虫 更新于 2026-10-31 13:11:47 UTC