Introduction

Note: This module is universal. Functions in this module can run on both the backend and frontend.

The eCommerce Checkout API provides functionality for creating, retrieving. and managing a checkout.

The checkout is the second phase of an eCommerce purchase flow, coming after cart and before order. A checkout holds information about items to be purchased, price and tax summaries, shipping and billing info, any applied discounts, and more.

Before you begin

Some fields in the Stores Cart API cart object are held in the checkout object. For more info, refer to the Stores Cart to eCommerce Checkout Conversion Table.

To use the Wix eCommerce Checkout API, import { checkout } from the wix-ecom-backend module:

Copy
Was this helpful?
Yes
No