docs: added a swap conceptual guide (#3888)

* docs: added a swap conceptual guide

* fix link type

* added text
This commit is contained in:
Shahed Nasser
2023-04-20 14:51:07 +03:00
committed by GitHub
parent 7e213f2106
commit f1edcb0e31
4 changed files with 174 additions and 10 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
---
description: "Customers place orders to purchase products from an ecommerce business. Learn about the available features and guides."
description: "Learn about the orders architecture, how theyre created, and their relation to other entities."
---
# Orders Architecture Overview
@@ -10,7 +10,7 @@ In this document, youll learn about the orders architecture, how theyre cr
Orders are placed by customers who purchase items from your store. They involve intricate commerce operations related to inventory, fulfillment, payment, and more.
Medusa supports order features such as order editing, creating swaps for orders, returning orders, and more. These features allow merchants to handle and automate Return Merchandise Automation (RMA) flows.
Medusa supports order features such as order editing, creating swaps for orders, returning orders, and more. These features allow merchants to handle and automate Return Merchandise Authorization (RMA) flows.
:::note
@@ -25,7 +25,7 @@ As the Order domain is large in features and details, some features such as Retu
Some of the attributes of the `Order` entity include:
- `fulfillment_status`: a string indicating the status of the orders fulfillment. Its possible values can determine whether all items have been fulfilled, shipped, or returned.
- `payment_status`: a string indicating the status of the orders payment. Its possible values can determine whether the payment of the order has been captured or refunded.
- `payment_status`: a string indicating the status of the orders payment. Its possible values can determine whether the payment of the order has been captured or refunded.
- `status`: a string indicating the overall status of the order. Its values can be:
- `pending`: this is the default status of the order after it has been created.
- `completed`: the order is marked as completed. A merchant typically marks the order as completed after the order has been fulfilled and paid.