Setup

To use the Checkout API, install the @wix/ecom package using npm or Yarn:

Copy

or

Copy

Then import { checkout } from @wix/ecom:

Copy
Did this help?