Onboarding with the CLI

Sign up for free and place your first order in a snap

As soon as you sign up for freearrow-up-right 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:

Create an organization

To create your first sample organization all you need to do is choose a meaningful name for it and select the region where your data will be stored.

circle-exclamation
circle-info

If — for whatever reason — you need to delete one or more of the organizations you created, please ask the organization owner to reach out to our support team and send a specific request to [email protected] envelopespecifying the list of the organization slug you want to be deleted.

Seed the organization with test data

You can now seed your newly created organization with some test data using the seeder pluginarrow-up-right of the CLI.

Place a test order

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 pluginarrow-up-right of the CLI and complete the process in the browser through Commerce Layer hosted checkoutarrow-up-right.

circle-check

Explore all the resources

As the last step of your first dive into Commerce Layer we suggest you install the resources pluginarrow-up-right and get more familiar with the CLI by exploring your organization's test data:

circle-info

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).

Example

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:

Let's go deeper!

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!

circle-check
circle-check
circle-check

For everything else, join us on Discordarrow-up-right 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 by clicking on the related text in the upper right corner, create a new organization, and seed it manually, as explained in the following step-by-step guide.

Last updated