You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fern/docs/pages/get-started/overview.mdx
+85-21Lines changed: 85 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,32 +46,96 @@ The API is organized around four main capabilities, each handling a specific asp
46
46
47
47
## How it works
48
48
49
-
When a customer browses your catalog, the plant management system handles search and filtering. Creating an order triggers the order processing system, which validates payment. On successful payment, inventory tracking reserves stock and manages fulfillment. Throughout the process, customer management sends notifications and maintains order history. If payment fails, the system cancels the order and notifies the customer automatically.
49
+
1.**Browse plants**: Customer searches and filters the catalog through the API.
50
+
2.**Return results**: API returns matching plants with availability and pricing.
51
+
3.**Create order**: Customer adds items to cart and submits the order.
52
+
4.**Process payment**: API sends payment information to the payment gateway.
53
+
5.**Confirm payment**: Payment gateway validates and confirms the transaction.
54
+
6.**Reserve and fulfill**: Backend services reserve inventory and begin fulfillment.
55
+
7.**Send updates**: Customer receives tracking information and order history is updated.
50
56
57
+
If payment fails at step 5, the system takes an alternate path: the payment gateway declines the transaction (step 5), the API cancels the order (step 6), and the customer receives a cancellation notice (step 7).
0 commit comments