docs: fix broken links utility + uncaught broken links (#12637)
* fix broken links * update broken links utility * add missing payment evens * generate llms * fix segment link
This commit is contained in:
1 parent
9866baa852
commit
40e73c6ea2
64 files changed
+151813
-150840
No files matched your search
@@ -572,7 +572,7 @@ You create a step using `createStep` from the Workflows SDK. It accepts two para
|
||||
1. The step's name, which is `get-products-from-erp`.
|
||||
2. An async function that executes the step's logic. The function receives two parameters:
|
||||
- The input data for the step, which are the pagination fields `offset` and `limit`.
|
||||
- An object holding the workflow's context, including the [Medusa Container](!docs!learn/fundamentals/medusa-container) that allows you to resolve Framework and commerce tools.
|
||||
- An object holding the workflow's context, including the [Medusa Container](!docs!/learn/fundamentals/medusa-container) that allows you to resolve Framework and commerce tools.
|
||||
|
||||
In this step, you resolve the Odoo Module's service from the container and use its `listProducts` method to fetch products from Odoo. You pass the pagination options from the input data to the method.
|
||||
|
||||
|
||||
@@ -468,7 +468,7 @@ Then, for each product variant, you use a `canCompanyPurchaseProduct` method in
|
||||
|
||||
So, only customers who are allowed in the ERP system to purchase a product can add it to the cart.
|
||||
|
||||
Learn more about workflow hooks and how to consume them in [this documentation](/docs/learn/fundamentals/workflows/workflow-hooks).
|
||||
Learn more about workflow hooks and how to consume them in [this documentation](!docs!/learn/fundamentals/workflows/workflow-hooks).
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user