Onboarding tutorial
Sign up for free and place your first order in a snap
As soon as you sign up for free and your account is successfully confirmed, you will be prompted to follow a short onboarding tutorial that will show you how to place your first order from scratch, directly from the command line.
The tutorial is split into four steps:

To create your first sample organization all you need to do is choose a meaningful name for it.

You can now seed your newly created organization with some test data using the seeder plugin of the CLI.

Once your sample organization gets populated with everything you need to get started, you can place your first order in test mode. To do that you need to generate the checkout URL using the checkout plugin of the CLI and complete the process in the browser through Commerce Layer hosted checkout application.
You just placed your first order with Commerce Layer, and it took you less than 5 minutes. Cool, right?

As the last step of your first dive into Commerce Layer we suggest you install the resources plugin and get more familiar with the CLI by exploring your organization's test data:
Please note that a live documentation option is also available on the command line: just append --doc to any CLI command of the resources plugin to show the command in a specific language of your choice (cURL and Node currently available, more to come).

CLI command
The following command fetches a collection of SKUs using the CLI, prompting you the options to select a format to show the command live documentation:
commercelayer list skus --doc
This is the corresponding cURL command to fetch a collection of SKUs:
curl -g -X GET \
'https://your-organization.commercelayer.io/api/skus' \
-H 'Accept: application/vnd.api+json' \
-H 'Content-Type: application/vnd.api+json' \
-H 'Authorization: Bearer your-access-token'
This is the corresponding Node command to fetch a collection of SKUs:
import commercelayer from '@commercelayer/sdk'
const organization = 'your-organization'
const accessToken = 'your-access-token'
const cl = commercelayer({ organization, accessToken })

The onboarding tutorial just scratches the surface of what you can build and achieve with Commerce Layer. Now, you can take the time to explore the rest of this guide, check the API reference, have a look at our recipe-like how-tos, and become a pro!
For everything else, join us on Slack and feel free to ask any questions to the team or get involved in the conversation with the rest of our developers' community.
If you want to dig deeper into how Commerce Layer's data model is structured, feel free to skip this tutorial, create a new organization, and seed it manually, as explained in the following step-by-step guide.
Copy link
On this page
Create an organization
Seed the organization with test data
Place a test order
Explore all the resources
Let's go deeper!