Generate test catalog items that work with the Orders API sample application.
Order-Ahead Sample Application

Step 3: Generate Test Catalog Items

If you do not already have catalog items in your test account, you can run a script to generate some test catalog items. The order-ahead sample application automatically reads your catalog item data (including images and prices) and imports them into the application.

To generate some test catalog items:

  1. Run the following command in the root directory of the sample application:

    On success, you see a list of successfully generated catalog items:

  2. Go to localhost:3000 and refresh your application. It should now be populated with test catalog items:

    A graphic showing the populated test catalog items.

We've made improvements to our docs.
Prefer the old format?