Introducing our brand new Rules Engine —
Read the docs
LogoLogo
Core APIOther APIsChangelog
How-tos
How-tos
  • Introduction
  • Product discovery
    • Product listing page
    • Product page
  • Placing orders
    • Shopping cart
      • Creating a shopping cart
      • Adding products to cart
      • Updating cart quantities
      • Removing products from cart
      • Displaying the cart summary
    • Checkout
      • Adding the customer
      • Adding a billing address
      • Adding a shipping address
      • Selecting a shipping method
      • Selecting a payment method
      • Adding a payment source
      • Adding a gift card or coupon
      • Placing the order
    • Subscriptions
      • Configuring a subscription model
      • Selecting the source order
      • Generating the subscriptions
      • Updating the subscriptions
    • Payments
      • Adyen
        • Adding the payment source
        • Sending back the payment details
        • Configuring the notification webhooks
        • Reusing the payment source
      • Axerve
        • Adding the payment source
        • Updating the payment intent
      • Braintree
        • Adding the payment source
        • Sending back the payment method nonce
        • Accepting local payments
        • Reusing the payment source
      • Checkout.com
        • Adding the payment source
        • Getting the payment details
        • Refreshing pending transactions
        • Reusing the payment source
      • Klarna
        • Adding the payment source
        • Sending back the authorization token
        • Reusing the payment source
      • PayPal
        • Adding the payment source
        • Preparing the payment for execution
      • Stripe
        • Adding the payment source
        • Refreshing the payment source
        • Reusing the payment source
      • Manual payments
        • Adding a wire transfer payment source
      • External payments
        • Adding the payment source
        • Reusing the payment source
    • Auto-capture
      • Enabling the auto-capture
      • Limiting the auto-capture amount
  • inventory
    • Inventory strategies
      • No split
      • Split shipments
      • Split by line items
      • Ship from first available (or primary)
      • Ship from primary
  • FAQ
    • Environments and initial setup
    • Authentication and access tokens
On this page
  • How it works
  • List of guides
  • Ask for more!

Introduction

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

NextProduct listing page

Last updated 5 months ago

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.

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 guide for basic information on how to interact with the API, our for all the details about each single core resource, and our 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 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.

Product listing page
Product page
Shopping cart
Checkout
Payments
Inventory strategies
Getting started
API reference
changelog
Metrics API
A sample guide page structure