Order Creation Documentation
Overview
To create an order in the RMS system, you must first ensure that you have a few products set up. The minimum requirements are:
-
At least one product with:
- One variant
- One EAN
- One unique product
Understanding Product Structure
-
Product: Represents the general version of the item.
-
Variant: Represents the size or specification of the product.
-
EAN: The barcode of the product. If your products do not have barcodes, please contact a developer.
-
Unique Product: Represents the stock item. In rental or second-hand scenarios, each product has a unique identifier called PUID (also referred to as
barcode_uid).
Product Creation Process
Products and Variants are created via the API.
Unique Products are added through the RMS interface.
Required Identifiers
Before creating an order, you need:
-
Warehouse ID (
warehouse_id) – This will be provided by your Lizee contact. -
Carrier Information – Since shipping is handled through our contracts, your Lizee contact will:
-
Create a carrier in the RMS for you.
-
Provide you with the carrier ID and type.
Creating an Order
Once the prerequisites are met, you can create an order using the POST method at the following API endpoint:
POST /api/orders
API Response
Upon successful creation, you will receive:
-
Order ID – The identifier of the created order.
-
Forth Shipment ID – The ID for the initial shipment.
-
Return Shipment ID – If it's a rental order, you will also receive the return shipment ID.