Create, manage and track orders for digital manufacturing

In this tutorial, you will learn how to create, manage and track orders for digital manufacturing through the Twikit Live API.

This tutorial is intended for developers who want to integrate Twikit Live with their own website or e-commerce application.

Step-by-step: How to create an order

The steps below guide you through the process of creating an order for a product in a Twikit web configurator on your website or e-commerce website.

Before getting started, make sure you understand the basic concepts of Twikit Live by reading the getting started guide.

  1. Generate a secret key for your private customer space in the Secret keys page on the Twikit Live website. (Not yet required, coming soon)

  2. Integrate the secret key in your website. Be careful not to expose the key publicly. (Not yet required, coming soon)

  3. On your website, gather all information to create an order:

    1. Save your product configuration and store the configuration ID. TODO: add link to configuration service documentation.

    2. Get the name of your order flow key on the Order flows page.

    3. Get the name of your private customer space key.

    4. Custom data specifically needed by your order flow such as user address info, asset URL, …

  4. Prepare the order call by building your order data transfer object (DTO). https://orders.twikit.com/api/docs

  5. Call the create order post rest API with your order DTO as an argument. https://orders.twikit.com/api/docs