By using the API you can make small adjustments specific to your website or even build your own custom user interface with your library of choice.
The API provides full featured access and allows you to listen for events, request data, save values and perform transactions.
The default User Interface is built with this API.
Commerce is designed to run in the browser and by default exposes itself on the
window object as
If this causes a conflict for your application, you can alias it by supplying a data attribute to the script embed tag in the format
For example an attribute of
data-expose="Hamburger" would result in Commerce being available via
If you would like to run Commerce in non-browser environment, please reach out to us to provide details regarding your use case.
# Admin API
To integrate with the Commerce Back-End, please view the Admin API documentation.