How-tos, tutorials and everything you need to build with Commerce Layer

Need to fetch prices and inventory, manage shopping carts, customer accounts, or checkout orders? This collection of guides and step-by-step tutorials is what you need, featuring how-tos, handy examples, and best practices for the most common scenarios.

How it works

Each guide roughly follows the same schema and is developed across four main sections:

  1. Problem A presentation of the issue you are facing.

  2. Solution The recommended way to solve the problem. This is where you find the API calls you need to make, along with request/response detailed examples and an image that shows how the involved elements are mapped to the related resource fields.

  3. Additional notes A special focus and some highlights of critical aspects around the topic, best practices, suggestions and more in-depth information.

  4. More to read Links to the API reference, articles, blog posts, or any other resource that can help you getting more information about the subject.

List of guides

These are the main guides that are currently available. Explore the left menu for subsections and more specific tutorials.

pageProduct listing pagepageProduct pagepageShopping cartpageCheckoutpagePaymentspageInventory strategies

Ask for more!

We are working hard to make our documentation as helpful as possible. This list of guides is constantly growing and will be regularly updated. Anyway, if you don't find what you need, feel free to contact our support team at any time or contribute by sending your PR on Github!

Please check also our Getting started guide for basic information on how to interact with the API, our API reference for all the details about each single core resource, and our changelog for regular updates on any changes, new features, or product releases.

Do you need to extract some kind of data information from your Commerce Layer's organization? We've got you covered. Try out our Metrics API and see how it can enable you to gather and aggregate useful data that you can leverage to measure the health and performance of your ecommerce business.

Last updated