Checkout API - Overview

The Checkout API allows you to obtain and manipulate the information of a given shopping cart as well as add or update custom fields.

Ollie Shop is integrated with the APIs of ecommerce platforms (providers). When you use the Ollie Shop Checkout APIs, they will automatically make the corresponding actions on the APIs of the provider configured in your Ollie Store.

ℹ️

Data modification operations (POST endpoints) should not be performed in parallel. They need to be enqueued by the client/requester. Otherwise, old values ​​can be overwritten incorrectly or competition errors may occur

Shopping cart

Allows merchants to simulate, update and customize shopping cart information.


Extensions

Extensions is how merchants will be able to include new data structures in the cart.

Consider the example where a Drugstore is selling controlled substances. In order to be able to sell controlled substances, the store requires the user to include the link to the medical prescription for that product.

The input text box is a custom component. This component will use the Extensions API to include the prescription data in the cart, in the form of a link.

This component will also raise an event that will trigger a function. This function will get the data from the extension and carry it forward to the ecommerce engine.

Check out this tutorial for the full details on how this customization can be done.