Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add docs about order management

Anna Siwik2c80dd06cc8d
diff --git a/docs/index.rst b/docs/index.rst
index 62d5cbe147..8b00e67286 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -12,6 +12,7 @@ Contents:
configuration
products
stock
+ orders
settings
contentsearch
localization
diff --git a/docs/orders.rst b/docs/orders.rst
new file mode 100644
index 0000000000..fd904e4a63
--- /dev/null
+++ b/docs/orders.rst
@@ -0,0 +1,18 @@
+Order management
+================
+
+Delivery Group
+--------------
+
+Delivery group represent parts of an order consisting of multiple order lines. They are created along with order by splitting cart into parts depending whether product has shipping required or not.
+
+Statuses
+--------
+
+Order status is deduced based on related delivery group statuses, which in turn can be ``NEW``, ``SHIPPED`` or ``CANCELLED``. For display there are used two values:
+
+- ``OPEN``
+ There is at least one delivery group in order having ``NEW`` status.
+
+- ``CLOSED``
+ There is no delivery group in order having ``NEW`` status.