a932ceb59f
* Add context to type * Clean up notifyerrors helpers * Notify and clear top level cart errors * changelog * Make extensionCartUpdate surface the errors * No automatic clearing of notice * Handle generic errors only, add docs * Rename param * Fix linting in readme * Update toc * test coverage * Unused import * We're only dealing with arrays of errors so simplify logic |
||
---|---|---|
.. | ||
README.md | ||
available-endpoints-to-extend.md | ||
extend-rest-api-add-custom-fields.md | ||
extend-rest-api-add-data.md | ||
extend-rest-api-formatters.md | ||
extend-rest-api-update-cart.md |
README.md
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 in the Store API | Explains how you can add additional data to Store API endpoints. |
Available endpoints to extend with ExtendSchema | A list of all available endpoints to extend. |
Available Formatters | Available Formatters to format data for use in the Store API. |
Updating the cart with the Store API | Update the server-side cart following an action from the front-end. |