From 8553cd6427d6956481e190f8739fdb8191c80663 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Tue, 27 Aug 2024 12:23:32 +0300 Subject: [PATCH] docs: [12/n] generate core-flows reference (#8793) --- .../page.mdx | 16 + .../page.mdx | 20 ++ .../page.mdx | 20 ++ .../page.mdx | 20 ++ .../page.mdx | 16 + .../page.mdx | 16 + .../page.mdx | 16 + .../page.mdx | 16 + .../page.mdx | 20 ++ .../page.mdx | 20 ++ .../page.mdx | 20 ++ .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 20 ++ .../page.mdx | 24 ++ .../page.mdx | 46 +++ .../page.mdx | 24 ++ .../page.mdx | 46 +++ .../page.mdx | 42 +++ .../page.mdx | 20 ++ .../page.mdx | 42 +++ .../page.mdx | 46 +++ .../page.mdx | 24 ++ .../page.mdx | 46 +++ .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 135 ++++++++ .../page.mdx | 315 ++++++++++++++++++ .../page.mdx | 20 ++ .../page.mdx | 16 + .../page.mdx | 16 + .../page.mdx | 20 ++ .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 24 ++ .../page.mdx | 20 ++ .../page.mdx | 20 ++ .../page.mdx | 24 ++ .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 49 +++ .../page.mdx | 65 ++++ .../page.mdx | 20 ++ .../page.mdx | 20 ++ .../page.mdx | 20 ++ .../page.mdx | 20 ++ .../page.mdx | 16 + .../page.mdx | 20 ++ .../page.mdx | 16 + .../page.mdx | 20 ++ .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 24 ++ .../page.mdx | 20 ++ .../page.mdx | 20 ++ .../page.mdx | 24 ++ .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 5 + .../page.mdx | 105 ++++++ .../page.mdx | 65 ++++ .../core_flows/core_flows.Promotion/page.mdx | 8 + .../core_flows.Reservation/page.mdx | 8 + .../core_flows.Sales_Channel/page.mdx | 8 + 93 files changed, 1948 insertions(+) create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.addCampaignPromotionsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.addRulesToPromotionsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.createCampaignsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.createPromotionsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.deleteCampaignsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.deletePromotionsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.removeCampaignPromotionsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.removeRulesFromPromotionsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.updateCampaignsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.updatePromotionRulesStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.updatePromotionsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.addCampaignPromotionsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.addRulesToPromotionsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.createCampaignsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.createPromotionsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.deleteCampaignsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.deletePromotionsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.removeCampaignPromotionsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.removeRulesFromPromotionsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.updateCampaignsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.updatePromotionRulesStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.updatePromotionsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.addOrRemoveCampaignPromotionsWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.batchPromotionRulesWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.createCampaignsWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.createPromotionRulesWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.createPromotionsWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.deleteCampaignsWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.deletePromotionRulesWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.deletePromotionsWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.updateCampaignsWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.updatePromotionRulesWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.updatePromotionsWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.addOrRemoveCampaignPromotionsWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.batchPromotionRulesWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.createCampaignsWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.createPromotionRulesWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.createPromotionsWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.deleteCampaignsWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.deletePromotionRulesWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.deletePromotionsWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.updateCampaignsWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.updatePromotionRulesWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.updatePromotionsWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/core_flows.Promotion.Steps_Promotion/page.mdx create mode 100644 www/apps/resources/references/core_flows/Promotion/core_flows.Promotion.Workflows_Promotion/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/Steps_Reservation/functions/core_flows.Reservation.Steps_Reservation.createReservationsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/Steps_Reservation/functions/core_flows.Reservation.Steps_Reservation.deleteReservationsByLineItemsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/Steps_Reservation/functions/core_flows.Reservation.Steps_Reservation.deleteReservationsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/Steps_Reservation/functions/core_flows.Reservation.Steps_Reservation.updateReservationsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/Steps_Reservation/variables/core_flows.Reservation.Steps_Reservation.createReservationsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/Steps_Reservation/variables/core_flows.Reservation.Steps_Reservation.deleteReservationsByLineItemsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/Steps_Reservation/variables/core_flows.Reservation.Steps_Reservation.deleteReservationsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/Steps_Reservation/variables/core_flows.Reservation.Steps_Reservation.updateReservationsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/functions/core_flows.Reservation.Workflows_Reservation.createReservationsWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/functions/core_flows.Reservation.Workflows_Reservation.deleteReservationsByLineItemsWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/functions/core_flows.Reservation.Workflows_Reservation.deleteReservationsWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/functions/core_flows.Reservation.Workflows_Reservation.updateReservationsWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/variables/core_flows.Reservation.Workflows_Reservation.createReservationsWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/variables/core_flows.Reservation.Workflows_Reservation.deleteReservationsByLineItemsWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/variables/core_flows.Reservation.Workflows_Reservation.deleteReservationsWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/variables/core_flows.Reservation.Workflows_Reservation.updateReservationsWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/core_flows.Reservation.Steps_Reservation/page.mdx create mode 100644 www/apps/resources/references/core_flows/Reservation/core_flows.Reservation.Workflows_Reservation/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.associateLocationsWithSalesChannelsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.associateProductsWithSalesChannelsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.createDefaultSalesChannelStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.createSalesChannelsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.deleteSalesChannelsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.detachLocationsFromSalesChannelsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.detachProductsFromSalesChannelsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.updateSalesChannelsStep/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.associateLocationsWithSalesChannelsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.associateProductsWithSalesChannelsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.createDefaultSalesChannelStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.createSalesChannelsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.deleteSalesChannelsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.detachLocationsFromSalesChannelsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.detachProductsFromSalesChannelsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.updateSalesChannelsStepId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/functions/core_flows.Sales_Channel.Workflows_Sales_Channel.createSalesChannelsWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/functions/core_flows.Sales_Channel.Workflows_Sales_Channel.deleteSalesChannelsWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/functions/core_flows.Sales_Channel.Workflows_Sales_Channel.linkProductsToSalesChannelWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/functions/core_flows.Sales_Channel.Workflows_Sales_Channel.updateSalesChannelsWorkflow/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/variables/core_flows.Sales_Channel.Workflows_Sales_Channel.createSalesChannelsWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/variables/core_flows.Sales_Channel.Workflows_Sales_Channel.deleteSalesChannelsWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/variables/core_flows.Sales_Channel.Workflows_Sales_Channel.linkProductsToSalesChannelWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/variables/core_flows.Sales_Channel.Workflows_Sales_Channel.updateSalesChannelsWorkflowId/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/core_flows.Sales_Channel.Steps_Sales_Channel/page.mdx create mode 100644 www/apps/resources/references/core_flows/Sales_Channel/core_flows.Sales_Channel.Workflows_Sales_Channel/page.mdx create mode 100644 www/apps/resources/references/core_flows/core_flows.Promotion/page.mdx create mode 100644 www/apps/resources/references/core_flows/core_flows.Reservation/page.mdx create mode 100644 www/apps/resources/references/core_flows/core_flows.Sales_Channel/page.mdx diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.addCampaignPromotionsStep/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.addCampaignPromotionsStep/page.mdx new file mode 100644 index 0000000000..f740b8d4a4 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.addCampaignPromotionsStep/page.mdx @@ -0,0 +1,16 @@ +--- +slug: /references/medusa-workflows/steps/addCampaignPromotionsStep +sidebar_label: addCampaignPromotionsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# addCampaignPromotionsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `addCampaignPromotionsStep`. It belongs to the `@medusajs/core-flows` package. + +This step adds promotions to a campaign. + +## Input + + diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.addRulesToPromotionsStep/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.addRulesToPromotionsStep/page.mdx new file mode 100644 index 0000000000..3098443b59 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.addRulesToPromotionsStep/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/steps/addRulesToPromotionsStep +sidebar_label: addRulesToPromotionsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# addRulesToPromotionsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `addRulesToPromotionsStep`. It belongs to the `@medusajs/core-flows` package. + +This step adds rules to a promotion. + +## Input + + + +## Output + + diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.createCampaignsStep/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.createCampaignsStep/page.mdx new file mode 100644 index 0000000000..0ac1f70607 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.createCampaignsStep/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/steps/createCampaignsStep +sidebar_label: createCampaignsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createCampaignsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `createCampaignsStep`. It belongs to the `@medusajs/core-flows` package. + +This step cancels one or more campaigns. + +## Input + + + +## Output + + diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.createPromotionsStep/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.createPromotionsStep/page.mdx new file mode 100644 index 0000000000..0d298f61cc --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.createPromotionsStep/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/steps/createPromotionsStep +sidebar_label: createPromotionsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createPromotionsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `createPromotionsStep`. It belongs to the `@medusajs/core-flows` package. + +This step creates one or more promotions. + +## Input + + + +## Output + + diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.deleteCampaignsStep/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.deleteCampaignsStep/page.mdx new file mode 100644 index 0000000000..62317c3a65 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.deleteCampaignsStep/page.mdx @@ -0,0 +1,16 @@ +--- +slug: /references/medusa-workflows/steps/deleteCampaignsStep +sidebar_label: deleteCampaignsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deleteCampaignsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `deleteCampaignsStep`. It belongs to the `@medusajs/core-flows` package. + +This step deletes one or more campaigns. + +## Input + + diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.deletePromotionsStep/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.deletePromotionsStep/page.mdx new file mode 100644 index 0000000000..42e7192881 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.deletePromotionsStep/page.mdx @@ -0,0 +1,16 @@ +--- +slug: /references/medusa-workflows/steps/deletePromotionsStep +sidebar_label: deletePromotionsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deletePromotionsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `deletePromotionsStep`. It belongs to the `@medusajs/core-flows` package. + +This step deletes one or more promotions. + +## Input + + diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.removeCampaignPromotionsStep/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.removeCampaignPromotionsStep/page.mdx new file mode 100644 index 0000000000..724b8a9a72 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.removeCampaignPromotionsStep/page.mdx @@ -0,0 +1,16 @@ +--- +slug: /references/medusa-workflows/steps/removeCampaignPromotionsStep +sidebar_label: removeCampaignPromotionsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# removeCampaignPromotionsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `removeCampaignPromotionsStep`. It belongs to the `@medusajs/core-flows` package. + +This step removes promotions from a campaigns. + +## Input + + diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.removeRulesFromPromotionsStep/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.removeRulesFromPromotionsStep/page.mdx new file mode 100644 index 0000000000..0f389bc59f --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.removeRulesFromPromotionsStep/page.mdx @@ -0,0 +1,16 @@ +--- +slug: /references/medusa-workflows/steps/removeRulesFromPromotionsStep +sidebar_label: removeRulesFromPromotionsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# removeRulesFromPromotionsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `removeRulesFromPromotionsStep`. It belongs to the `@medusajs/core-flows` package. + +This step removes rules from a promotion. + +## Input + + diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.updateCampaignsStep/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.updateCampaignsStep/page.mdx new file mode 100644 index 0000000000..3de65ac6f3 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.updateCampaignsStep/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/steps/updateCampaignsStep +sidebar_label: updateCampaignsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updateCampaignsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `updateCampaignsStep`. It belongs to the `@medusajs/core-flows` package. + +This step updates one or more campaigns. + +## Input + + + +## Output + + diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.updatePromotionRulesStep/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.updatePromotionRulesStep/page.mdx new file mode 100644 index 0000000000..6be617152c --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.updatePromotionRulesStep/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/steps/updatePromotionRulesStep +sidebar_label: updatePromotionRulesStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updatePromotionRulesStep - Medusa Workflows API Reference + +This documentation provides a reference to the `updatePromotionRulesStep`. It belongs to the `@medusajs/core-flows` package. + +This step updates one or more promotion rules. + +## Input + + + +## Output + + diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.updatePromotionsStep/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.updatePromotionsStep/page.mdx new file mode 100644 index 0000000000..e02c03e707 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/functions/core_flows.Promotion.Steps_Promotion.updatePromotionsStep/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/steps/updatePromotionsStep +sidebar_label: updatePromotionsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updatePromotionsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `updatePromotionsStep`. It belongs to the `@medusajs/core-flows` package. + +This step updates one or more promotions. + +## Input + + + +## Output + + diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.addCampaignPromotionsStepId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.addCampaignPromotionsStepId/page.mdx new file mode 100644 index 0000000000..2febddb88a --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.addCampaignPromotionsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# addCampaignPromotionsStepId + + `Const` **addCampaignPromotionsStepId**: `"add-campaign-promotions"` diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.addRulesToPromotionsStepId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.addRulesToPromotionsStepId/page.mdx new file mode 100644 index 0000000000..3d70d8077a --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.addRulesToPromotionsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# addRulesToPromotionsStepId + + `Const` **addRulesToPromotionsStepId**: `"add-rules-to-promotions"` diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.createCampaignsStepId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.createCampaignsStepId/page.mdx new file mode 100644 index 0000000000..34ec2a1b0a --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.createCampaignsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createCampaignsStepId + + `Const` **createCampaignsStepId**: `"create-campaigns"` diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.createPromotionsStepId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.createPromotionsStepId/page.mdx new file mode 100644 index 0000000000..307a1ce59e --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.createPromotionsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createPromotionsStepId + + `Const` **createPromotionsStepId**: `"create-promotions"` diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.deleteCampaignsStepId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.deleteCampaignsStepId/page.mdx new file mode 100644 index 0000000000..f7f54a199c --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.deleteCampaignsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deleteCampaignsStepId + + `Const` **deleteCampaignsStepId**: `"delete-campaigns"` diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.deletePromotionsStepId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.deletePromotionsStepId/page.mdx new file mode 100644 index 0000000000..e8b0eb8bcc --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.deletePromotionsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deletePromotionsStepId + + `Const` **deletePromotionsStepId**: `"delete-promotions"` diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.removeCampaignPromotionsStepId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.removeCampaignPromotionsStepId/page.mdx new file mode 100644 index 0000000000..84ba83fbe6 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.removeCampaignPromotionsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# removeCampaignPromotionsStepId + + `Const` **removeCampaignPromotionsStepId**: `"remove-campaign-promotions"` diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.removeRulesFromPromotionsStepId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.removeRulesFromPromotionsStepId/page.mdx new file mode 100644 index 0000000000..5ce2d2348e --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.removeRulesFromPromotionsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# removeRulesFromPromotionsStepId + + `Const` **removeRulesFromPromotionsStepId**: `"remove-rules-from-promotions"` diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.updateCampaignsStepId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.updateCampaignsStepId/page.mdx new file mode 100644 index 0000000000..492bea5d57 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.updateCampaignsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updateCampaignsStepId + + `Const` **updateCampaignsStepId**: `"update-campaigns"` diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.updatePromotionRulesStepId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.updatePromotionRulesStepId/page.mdx new file mode 100644 index 0000000000..5d76eb4298 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.updatePromotionRulesStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updatePromotionRulesStepId + + `Const` **updatePromotionRulesStepId**: `"update-promotion-rules"` diff --git a/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.updatePromotionsStepId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.updatePromotionsStepId/page.mdx new file mode 100644 index 0000000000..83945bde5d --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Steps_Promotion/variables/core_flows.Promotion.Steps_Promotion.updatePromotionsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updatePromotionsStepId + + `Const` **updatePromotionsStepId**: `"update-promotions"` diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.addOrRemoveCampaignPromotionsWorkflow/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.addOrRemoveCampaignPromotionsWorkflow/page.mdx new file mode 100644 index 0000000000..ec9d8c476b --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.addOrRemoveCampaignPromotionsWorkflow/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/addOrRemoveCampaignPromotionsWorkflow +sidebar_label: addOrRemoveCampaignPromotionsWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# addOrRemoveCampaignPromotionsWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `addOrRemoveCampaignPromotionsWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow adds or removes promotions from campaigns. + +## Steps + + + +## Input + + diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.batchPromotionRulesWorkflow/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.batchPromotionRulesWorkflow/page.mdx new file mode 100644 index 0000000000..72c1d51a78 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.batchPromotionRulesWorkflow/page.mdx @@ -0,0 +1,24 @@ +--- +slug: /references/medusa-workflows/batchPromotionRulesWorkflow +sidebar_label: batchPromotionRulesWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# batchPromotionRulesWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `batchPromotionRulesWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow creates, updates, or deletes promotion rules. + +## Steps + + + +## Input + + + +## Output + + diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.createCampaignsWorkflow/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.createCampaignsWorkflow/page.mdx new file mode 100644 index 0000000000..8e0526314f --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.createCampaignsWorkflow/page.mdx @@ -0,0 +1,46 @@ +--- +slug: /references/medusa-workflows/createCampaignsWorkflow +sidebar_label: createCampaignsWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createCampaignsWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `createCampaignsWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow creates one or more campaigns. + +## Steps + + + +## Input + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createCampaignsWorkflow"/> + +## Output + + + +## Hooks + +### campaignsCreated + +#### Example + +```ts +import { createCampaignsWorkflow } from "@medusajs/core-flows" + +createCampaignsWorkflow.hooks.campaignsCreated( + async (({ campaigns, additional_data }, { container }) => { + //TODO + }) +) +``` + +#### Input + +Handlers consuming this hook accept the following input. + + | undefined`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="campaignsCreated"/> diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.createPromotionRulesWorkflow/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.createPromotionRulesWorkflow/page.mdx new file mode 100644 index 0000000000..fbb6ef0064 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.createPromotionRulesWorkflow/page.mdx @@ -0,0 +1,24 @@ +--- +slug: /references/medusa-workflows/createPromotionRulesWorkflow +sidebar_label: createPromotionRulesWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createPromotionRulesWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `createPromotionRulesWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow creates one or more promotion rules. + +## Steps + + + +## Input + + + +## Output + + diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.createPromotionsWorkflow/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.createPromotionsWorkflow/page.mdx new file mode 100644 index 0000000000..556bc257a8 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.createPromotionsWorkflow/page.mdx @@ -0,0 +1,46 @@ +--- +slug: /references/medusa-workflows/createPromotionsWorkflow +sidebar_label: createPromotionsWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createPromotionsWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `createPromotionsWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow creates one or more promotions. + +## Steps + + + +## Input + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createPromotionsWorkflow"/> + +## Output + + + +## Hooks + +### promotionsCreated + +#### Example + +```ts +import { createPromotionsWorkflow } from "@medusajs/core-flows" + +createPromotionsWorkflow.hooks.promotionsCreated( + async (({ promotions, additional_data }, { container }) => { + //TODO + }) +) +``` + +#### Input + +Handlers consuming this hook accept the following input. + + | undefined`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="promotionsCreated"/> diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.deleteCampaignsWorkflow/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.deleteCampaignsWorkflow/page.mdx new file mode 100644 index 0000000000..9fd17e836b --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.deleteCampaignsWorkflow/page.mdx @@ -0,0 +1,42 @@ +--- +slug: /references/medusa-workflows/deleteCampaignsWorkflow +sidebar_label: deleteCampaignsWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deleteCampaignsWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `deleteCampaignsWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow deletes one or more campaigns. + +## Steps + + + +## Input + + + +## Hooks + +### campaignsDeleted + +#### Example + +```ts +import { deleteCampaignsWorkflow } from "@medusajs/core-flows" + +deleteCampaignsWorkflow.hooks.campaignsDeleted( + async (({ ids }, { container }) => { + //TODO + }) +) +``` + +#### Input + +Handlers consuming this hook accept the following input. + + diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.deletePromotionRulesWorkflow/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.deletePromotionRulesWorkflow/page.mdx new file mode 100644 index 0000000000..945180bdc4 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.deletePromotionRulesWorkflow/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/deletePromotionRulesWorkflow +sidebar_label: deletePromotionRulesWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deletePromotionRulesWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `deletePromotionRulesWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow deletes one or more promotion rules. + +## Steps + + + +## Input + + diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.deletePromotionsWorkflow/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.deletePromotionsWorkflow/page.mdx new file mode 100644 index 0000000000..6f832cc164 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.deletePromotionsWorkflow/page.mdx @@ -0,0 +1,42 @@ +--- +slug: /references/medusa-workflows/deletePromotionsWorkflow +sidebar_label: deletePromotionsWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deletePromotionsWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `deletePromotionsWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow deletes one or more promotions. + +## Steps + + + +## Input + + + +## Hooks + +### promotionsDeleted + +#### Example + +```ts +import { deletePromotionsWorkflow } from "@medusajs/core-flows" + +deletePromotionsWorkflow.hooks.promotionsDeleted( + async (({ ids }, { container }) => { + //TODO + }) +) +``` + +#### Input + +Handlers consuming this hook accept the following input. + + diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.updateCampaignsWorkflow/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.updateCampaignsWorkflow/page.mdx new file mode 100644 index 0000000000..61ea3c350b --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.updateCampaignsWorkflow/page.mdx @@ -0,0 +1,46 @@ +--- +slug: /references/medusa-workflows/updateCampaignsWorkflow +sidebar_label: updateCampaignsWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updateCampaignsWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `updateCampaignsWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow updates one or more campaigns. + +## Steps + + + +## Input + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="updateCampaignsWorkflow"/> + +## Output + + + +## Hooks + +### campaignsUpdated + +#### Example + +```ts +import { updateCampaignsWorkflow } from "@medusajs/core-flows" + +updateCampaignsWorkflow.hooks.campaignsUpdated( + async (({ campaigns, additional_data }, { container }) => { + //TODO + }) +) +``` + +#### Input + +Handlers consuming this hook accept the following input. + + | undefined`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="campaignsUpdated"/> diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.updatePromotionRulesWorkflow/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.updatePromotionRulesWorkflow/page.mdx new file mode 100644 index 0000000000..5e5e0e31b9 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.updatePromotionRulesWorkflow/page.mdx @@ -0,0 +1,24 @@ +--- +slug: /references/medusa-workflows/updatePromotionRulesWorkflow +sidebar_label: updatePromotionRulesWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updatePromotionRulesWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `updatePromotionRulesWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow updates one or more promotion rules. + +## Steps + + + +## Input + + + +## Output + + diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.updatePromotionsWorkflow/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.updatePromotionsWorkflow/page.mdx new file mode 100644 index 0000000000..150338dddc --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/functions/core_flows.Promotion.Workflows_Promotion.updatePromotionsWorkflow/page.mdx @@ -0,0 +1,46 @@ +--- +slug: /references/medusa-workflows/updatePromotionsWorkflow +sidebar_label: updatePromotionsWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updatePromotionsWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `updatePromotionsWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow updates one or more promotions. + +## Steps + + + +## Input + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="updatePromotionsWorkflow"/> + +## Output + + + +## Hooks + +### promotionsUpdated + +#### Example + +```ts +import { updatePromotionsWorkflow } from "@medusajs/core-flows" + +updatePromotionsWorkflow.hooks.promotionsUpdated( + async (({ promotions, additional_data }, { container }) => { + //TODO + }) +) +``` + +#### Input + +Handlers consuming this hook accept the following input. + + | undefined`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="promotionsUpdated"/> diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.addOrRemoveCampaignPromotionsWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.addOrRemoveCampaignPromotionsWorkflowId/page.mdx new file mode 100644 index 0000000000..bbba9d2e16 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.addOrRemoveCampaignPromotionsWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# addOrRemoveCampaignPromotionsWorkflowId + + `Const` **addOrRemoveCampaignPromotionsWorkflowId**: `"add-or-remove-campaign-promotions"` diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.batchPromotionRulesWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.batchPromotionRulesWorkflowId/page.mdx new file mode 100644 index 0000000000..9bfde59089 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.batchPromotionRulesWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# batchPromotionRulesWorkflowId + + `Const` **batchPromotionRulesWorkflowId**: `"batch-promotion-rules"` diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.createCampaignsWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.createCampaignsWorkflowId/page.mdx new file mode 100644 index 0000000000..7c81026116 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.createCampaignsWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createCampaignsWorkflowId + + `Const` **createCampaignsWorkflowId**: `"create-campaigns"` diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.createPromotionRulesWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.createPromotionRulesWorkflowId/page.mdx new file mode 100644 index 0000000000..306897c8e0 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.createPromotionRulesWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createPromotionRulesWorkflowId + + `Const` **createPromotionRulesWorkflowId**: `"create-promotion-rules-workflow"` diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.createPromotionsWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.createPromotionsWorkflowId/page.mdx new file mode 100644 index 0000000000..5c76cb2edb --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.createPromotionsWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createPromotionsWorkflowId + + `Const` **createPromotionsWorkflowId**: `"create-promotions"` diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.deleteCampaignsWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.deleteCampaignsWorkflowId/page.mdx new file mode 100644 index 0000000000..921747c1dc --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.deleteCampaignsWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deleteCampaignsWorkflowId + + `Const` **deleteCampaignsWorkflowId**: `"delete-campaigns"` diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.deletePromotionRulesWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.deletePromotionRulesWorkflowId/page.mdx new file mode 100644 index 0000000000..ac535a56d7 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.deletePromotionRulesWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deletePromotionRulesWorkflowId + + `Const` **deletePromotionRulesWorkflowId**: `"delete-promotion-rules-workflow"` diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.deletePromotionsWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.deletePromotionsWorkflowId/page.mdx new file mode 100644 index 0000000000..63811d9bad --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.deletePromotionsWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deletePromotionsWorkflowId + + `Const` **deletePromotionsWorkflowId**: `"delete-promotions"` diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.updateCampaignsWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.updateCampaignsWorkflowId/page.mdx new file mode 100644 index 0000000000..b71a8658a8 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.updateCampaignsWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updateCampaignsWorkflowId + + `Const` **updateCampaignsWorkflowId**: `"update-campaigns"` diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.updatePromotionRulesWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.updatePromotionRulesWorkflowId/page.mdx new file mode 100644 index 0000000000..5053b442be --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.updatePromotionRulesWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updatePromotionRulesWorkflowId + + `Const` **updatePromotionRulesWorkflowId**: `"update-promotion-rules-workflow"` diff --git a/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.updatePromotionsWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.updatePromotionsWorkflowId/page.mdx new file mode 100644 index 0000000000..e282c91cbc --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/Workflows_Promotion/variables/core_flows.Promotion.Workflows_Promotion.updatePromotionsWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updatePromotionsWorkflowId + + `Const` **updatePromotionsWorkflowId**: `"update-promotions"` diff --git a/www/apps/resources/references/core_flows/Promotion/core_flows.Promotion.Steps_Promotion/page.mdx b/www/apps/resources/references/core_flows/Promotion/core_flows.Promotion.Steps_Promotion/page.mdx new file mode 100644 index 0000000000..96ce3c478f --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/core_flows.Promotion.Steps_Promotion/page.mdx @@ -0,0 +1,135 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# Steps\_Promotion + +## addCampaignPromotionsStep + +This step adds promotions to a campaign. + +### Input + + + +___ + +## addRulesToPromotionsStep + +This step adds rules to a promotion. + +### Input + + + +### Output + + + +___ + +## createCampaignsStep + +This step cancels one or more campaigns. + +### Input + + + +### Output + + + +___ + +## createPromotionsStep + +This step creates one or more promotions. + +### Input + + + +### Output + + + +___ + +## deleteCampaignsStep + +This step deletes one or more campaigns. + +### Input + + + +___ + +## deletePromotionsStep + +This step deletes one or more promotions. + +### Input + + + +___ + +## removeCampaignPromotionsStep + +This step removes promotions from a campaigns. + +### Input + + + +___ + +## removeRulesFromPromotionsStep + +This step removes rules from a promotion. + +### Input + + + +___ + +## updateCampaignsStep + +This step updates one or more campaigns. + +### Input + + + +### Output + + + +___ + +## updatePromotionRulesStep + +This step updates one or more promotion rules. + +### Input + + + +### Output + + + +___ + +## updatePromotionsStep + +This step updates one or more promotions. + +### Input + + + +### Output + + diff --git a/www/apps/resources/references/core_flows/Promotion/core_flows.Promotion.Workflows_Promotion/page.mdx b/www/apps/resources/references/core_flows/Promotion/core_flows.Promotion.Workflows_Promotion/page.mdx new file mode 100644 index 0000000000..9825ea0aa9 --- /dev/null +++ b/www/apps/resources/references/core_flows/Promotion/core_flows.Promotion.Workflows_Promotion/page.mdx @@ -0,0 +1,315 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# Workflows\_Promotion + +## addOrRemoveCampaignPromotionsWorkflow + +This workflow adds or removes promotions from campaigns. + +### Steps + + + +### Input + + + +___ + +## batchPromotionRulesWorkflow + +This workflow creates, updates, or deletes promotion rules. + +### Steps + + + +### Input + + + +### Output + + + +___ + +## createCampaignsWorkflow + +This workflow creates one or more campaigns. + +### Steps + + + +### Input + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createCampaignsWorkflow"/> + +### Output + + + +### Hooks + +#### campaignsCreated + +##### Example + +```ts +import { createCampaignsWorkflow } from "@medusajs/core-flows" + +createCampaignsWorkflow.hooks.campaignsCreated( + async (({ campaigns, additional_data }, { container }) => { + //TODO + }) +) +``` + +##### Input + +Handlers consuming this hook accept the following input. + + | undefined`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="campaignsCreated"/> + +___ + +## createPromotionRulesWorkflow + +This workflow creates one or more promotion rules. + +### Steps + + + +### Input + + + +### Output + + + +___ + +## createPromotionsWorkflow + +This workflow creates one or more promotions. + +### Steps + + + +### Input + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createPromotionsWorkflow"/> + +### Output + + + +### Hooks + +#### promotionsCreated + +##### Example + +```ts +import { createPromotionsWorkflow } from "@medusajs/core-flows" + +createPromotionsWorkflow.hooks.promotionsCreated( + async (({ promotions, additional_data }, { container }) => { + //TODO + }) +) +``` + +##### Input + +Handlers consuming this hook accept the following input. + + | undefined`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="promotionsCreated"/> + +___ + +## deleteCampaignsWorkflow + +This workflow deletes one or more campaigns. + +### Steps + + + +### Input + + + +### Hooks + +#### campaignsDeleted + +##### Example + +```ts +import { deleteCampaignsWorkflow } from "@medusajs/core-flows" + +deleteCampaignsWorkflow.hooks.campaignsDeleted( + async (({ ids }, { container }) => { + //TODO + }) +) +``` + +##### Input + +Handlers consuming this hook accept the following input. + + + +___ + +## deletePromotionRulesWorkflow + +This workflow deletes one or more promotion rules. + +### Steps + + + +### Input + + + +___ + +## deletePromotionsWorkflow + +This workflow deletes one or more promotions. + +### Steps + + + +### Input + + + +### Hooks + +#### promotionsDeleted + +##### Example + +```ts +import { deletePromotionsWorkflow } from "@medusajs/core-flows" + +deletePromotionsWorkflow.hooks.promotionsDeleted( + async (({ ids }, { container }) => { + //TODO + }) +) +``` + +##### Input + +Handlers consuming this hook accept the following input. + + + +___ + +## updateCampaignsWorkflow + +This workflow updates one or more campaigns. + +### Steps + + + +### Input + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="updateCampaignsWorkflow"/> + +### Output + + + +### Hooks + +#### campaignsUpdated + +##### Example + +```ts +import { updateCampaignsWorkflow } from "@medusajs/core-flows" + +updateCampaignsWorkflow.hooks.campaignsUpdated( + async (({ campaigns, additional_data }, { container }) => { + //TODO + }) +) +``` + +##### Input + +Handlers consuming this hook accept the following input. + + | undefined`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="campaignsUpdated"/> + +___ + +## updatePromotionRulesWorkflow + +This workflow updates one or more promotion rules. + +### Steps + + + +### Input + + + +### Output + + + +___ + +## updatePromotionsWorkflow + +This workflow updates one or more promotions. + +### Steps + + + +### Input + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="updatePromotionsWorkflow"/> + +### Output + + + +### Hooks + +#### promotionsUpdated + +##### Example + +```ts +import { updatePromotionsWorkflow } from "@medusajs/core-flows" + +updatePromotionsWorkflow.hooks.promotionsUpdated( + async (({ promotions, additional_data }, { container }) => { + //TODO + }) +) +``` + +##### Input + +Handlers consuming this hook accept the following input. + + | undefined`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="promotionsUpdated"/> diff --git a/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/functions/core_flows.Reservation.Steps_Reservation.createReservationsStep/page.mdx b/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/functions/core_flows.Reservation.Steps_Reservation.createReservationsStep/page.mdx new file mode 100644 index 0000000000..d0b3a4dfbc --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/functions/core_flows.Reservation.Steps_Reservation.createReservationsStep/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/steps/createReservationsStep +sidebar_label: createReservationsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createReservationsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `createReservationsStep`. It belongs to the `@medusajs/core-flows` package. + +This step creates one or more reservations. + +## Input + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createReservationsStep"/> + +## Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Allow backorder of the item. If true, it won't check inventory levels before reserving it.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"The created by of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createReservationsStep"/> diff --git a/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/functions/core_flows.Reservation.Steps_Reservation.deleteReservationsByLineItemsStep/page.mdx b/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/functions/core_flows.Reservation.Steps_Reservation.deleteReservationsByLineItemsStep/page.mdx new file mode 100644 index 0000000000..8c2497514a --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/functions/core_flows.Reservation.Steps_Reservation.deleteReservationsByLineItemsStep/page.mdx @@ -0,0 +1,16 @@ +--- +slug: /references/medusa-workflows/steps/deleteReservationsByLineItemsStep +sidebar_label: deleteReservationsByLineItemsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deleteReservationsByLineItemsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `deleteReservationsByLineItemsStep`. It belongs to the `@medusajs/core-flows` package. + +This step deletes reservations by their associated line items. + +## Input + + diff --git a/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/functions/core_flows.Reservation.Steps_Reservation.deleteReservationsStep/page.mdx b/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/functions/core_flows.Reservation.Steps_Reservation.deleteReservationsStep/page.mdx new file mode 100644 index 0000000000..fef14e9780 --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/functions/core_flows.Reservation.Steps_Reservation.deleteReservationsStep/page.mdx @@ -0,0 +1,16 @@ +--- +slug: /references/medusa-workflows/steps/deleteReservationsStep +sidebar_label: deleteReservationsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deleteReservationsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `deleteReservationsStep`. It belongs to the `@medusajs/core-flows` package. + +This step deletes one or more reservations. + +## Input + + diff --git a/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/functions/core_flows.Reservation.Steps_Reservation.updateReservationsStep/page.mdx b/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/functions/core_flows.Reservation.Steps_Reservation.updateReservationsStep/page.mdx new file mode 100644 index 0000000000..e63741fbad --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/functions/core_flows.Reservation.Steps_Reservation.updateReservationsStep/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/steps/updateReservationsStep +sidebar_label: updateReservationsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updateReservationsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `updateReservationsStep`. It belongs to the `@medusajs/core-flows` package. + +This step updates one or more reservations. + +## Input + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="updateReservationsStep"/> + +## Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Allow backorder of the item. If true, it won't check inventory levels before reserving it.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"The created by of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="updateReservationsStep"/> diff --git a/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/variables/core_flows.Reservation.Steps_Reservation.createReservationsStepId/page.mdx b/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/variables/core_flows.Reservation.Steps_Reservation.createReservationsStepId/page.mdx new file mode 100644 index 0000000000..e953ae3a5e --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/variables/core_flows.Reservation.Steps_Reservation.createReservationsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createReservationsStepId + + `Const` **createReservationsStepId**: `"create-reservations-step"` diff --git a/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/variables/core_flows.Reservation.Steps_Reservation.deleteReservationsByLineItemsStepId/page.mdx b/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/variables/core_flows.Reservation.Steps_Reservation.deleteReservationsByLineItemsStepId/page.mdx new file mode 100644 index 0000000000..b9de9af186 --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/variables/core_flows.Reservation.Steps_Reservation.deleteReservationsByLineItemsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deleteReservationsByLineItemsStepId + + `Const` **deleteReservationsByLineItemsStepId**: `"delete-reservations-by-line-items"` diff --git a/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/variables/core_flows.Reservation.Steps_Reservation.deleteReservationsStepId/page.mdx b/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/variables/core_flows.Reservation.Steps_Reservation.deleteReservationsStepId/page.mdx new file mode 100644 index 0000000000..2f4681b9b6 --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/variables/core_flows.Reservation.Steps_Reservation.deleteReservationsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deleteReservationsStepId + + `Const` **deleteReservationsStepId**: `"delete-reservations"` diff --git a/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/variables/core_flows.Reservation.Steps_Reservation.updateReservationsStepId/page.mdx b/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/variables/core_flows.Reservation.Steps_Reservation.updateReservationsStepId/page.mdx new file mode 100644 index 0000000000..5082b54e00 --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/Steps_Reservation/variables/core_flows.Reservation.Steps_Reservation.updateReservationsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updateReservationsStepId + + `Const` **updateReservationsStepId**: `"update-reservations-step"` diff --git a/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/functions/core_flows.Reservation.Workflows_Reservation.createReservationsWorkflow/page.mdx b/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/functions/core_flows.Reservation.Workflows_Reservation.createReservationsWorkflow/page.mdx new file mode 100644 index 0000000000..5df910c727 --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/functions/core_flows.Reservation.Workflows_Reservation.createReservationsWorkflow/page.mdx @@ -0,0 +1,24 @@ +--- +slug: /references/medusa-workflows/createReservationsWorkflow +sidebar_label: createReservationsWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createReservationsWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `createReservationsWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow creates one or more reservations. + +## Steps + + + +## Input + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createReservationsWorkflow"/> + +## Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Allow backorder of the item. If true, it won't check inventory levels before reserving it.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"The created by of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createReservationsWorkflow"/> diff --git a/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/functions/core_flows.Reservation.Workflows_Reservation.deleteReservationsByLineItemsWorkflow/page.mdx b/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/functions/core_flows.Reservation.Workflows_Reservation.deleteReservationsByLineItemsWorkflow/page.mdx new file mode 100644 index 0000000000..f7ce1e29d6 --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/functions/core_flows.Reservation.Workflows_Reservation.deleteReservationsByLineItemsWorkflow/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/deleteReservationsByLineItemsWorkflow +sidebar_label: deleteReservationsByLineItemsWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deleteReservationsByLineItemsWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `deleteReservationsByLineItemsWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow deletes reservations by their associated line items. + +## Steps + + + +## Input + + diff --git a/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/functions/core_flows.Reservation.Workflows_Reservation.deleteReservationsWorkflow/page.mdx b/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/functions/core_flows.Reservation.Workflows_Reservation.deleteReservationsWorkflow/page.mdx new file mode 100644 index 0000000000..cdc72e9241 --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/functions/core_flows.Reservation.Workflows_Reservation.deleteReservationsWorkflow/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/deleteReservationsWorkflow +sidebar_label: deleteReservationsWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deleteReservationsWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `deleteReservationsWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow deletes one or more reservations. + +## Steps + + + +## Input + + diff --git a/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/functions/core_flows.Reservation.Workflows_Reservation.updateReservationsWorkflow/page.mdx b/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/functions/core_flows.Reservation.Workflows_Reservation.updateReservationsWorkflow/page.mdx new file mode 100644 index 0000000000..0608d4abc4 --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/functions/core_flows.Reservation.Workflows_Reservation.updateReservationsWorkflow/page.mdx @@ -0,0 +1,24 @@ +--- +slug: /references/medusa-workflows/updateReservationsWorkflow +sidebar_label: updateReservationsWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updateReservationsWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `updateReservationsWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow updates one or more reservations. + +## Steps + + + +## Input + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="updateReservationsWorkflow"/> + +## Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Allow backorder of the item. If true, it won't check inventory levels before reserving it.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"The created by of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="updateReservationsWorkflow"/> diff --git a/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/variables/core_flows.Reservation.Workflows_Reservation.createReservationsWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/variables/core_flows.Reservation.Workflows_Reservation.createReservationsWorkflowId/page.mdx new file mode 100644 index 0000000000..4b6582fcbf --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/variables/core_flows.Reservation.Workflows_Reservation.createReservationsWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createReservationsWorkflowId + + `Const` **createReservationsWorkflowId**: `"create-reservations-workflow"` diff --git a/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/variables/core_flows.Reservation.Workflows_Reservation.deleteReservationsByLineItemsWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/variables/core_flows.Reservation.Workflows_Reservation.deleteReservationsByLineItemsWorkflowId/page.mdx new file mode 100644 index 0000000000..363f0a25ed --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/variables/core_flows.Reservation.Workflows_Reservation.deleteReservationsByLineItemsWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deleteReservationsByLineItemsWorkflowId + + `Const` **deleteReservationsByLineItemsWorkflowId**: `"delete-reservations-by-line-items"` diff --git a/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/variables/core_flows.Reservation.Workflows_Reservation.deleteReservationsWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/variables/core_flows.Reservation.Workflows_Reservation.deleteReservationsWorkflowId/page.mdx new file mode 100644 index 0000000000..ad58c29ece --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/variables/core_flows.Reservation.Workflows_Reservation.deleteReservationsWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deleteReservationsWorkflowId + + `Const` **deleteReservationsWorkflowId**: `"delete-reservations"` diff --git a/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/variables/core_flows.Reservation.Workflows_Reservation.updateReservationsWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/variables/core_flows.Reservation.Workflows_Reservation.updateReservationsWorkflowId/page.mdx new file mode 100644 index 0000000000..5b7bc4e48f --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/Workflows_Reservation/variables/core_flows.Reservation.Workflows_Reservation.updateReservationsWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updateReservationsWorkflowId + + `Const` **updateReservationsWorkflowId**: `"update-reservations-workflow"` diff --git a/www/apps/resources/references/core_flows/Reservation/core_flows.Reservation.Steps_Reservation/page.mdx b/www/apps/resources/references/core_flows/Reservation/core_flows.Reservation.Steps_Reservation/page.mdx new file mode 100644 index 0000000000..d1ec9084fb --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/core_flows.Reservation.Steps_Reservation/page.mdx @@ -0,0 +1,49 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# Steps\_Reservation + +## createReservationsStep + +This step creates one or more reservations. + +### Input + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createReservationsStep"/> + +### Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Allow backorder of the item. If true, it won't check inventory levels before reserving it.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"The created by of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createReservationsStep"/> + +___ + +## deleteReservationsByLineItemsStep + +This step deletes reservations by their associated line items. + +### Input + + + +___ + +## deleteReservationsStep + +This step deletes one or more reservations. + +### Input + + + +___ + +## updateReservationsStep + +This step updates one or more reservations. + +### Input + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="updateReservationsStep"/> + +### Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Allow backorder of the item. If true, it won't check inventory levels before reserving it.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"The created by of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="updateReservationsStep"/> diff --git a/www/apps/resources/references/core_flows/Reservation/core_flows.Reservation.Workflows_Reservation/page.mdx b/www/apps/resources/references/core_flows/Reservation/core_flows.Reservation.Workflows_Reservation/page.mdx new file mode 100644 index 0000000000..0ea39feba8 --- /dev/null +++ b/www/apps/resources/references/core_flows/Reservation/core_flows.Reservation.Workflows_Reservation/page.mdx @@ -0,0 +1,65 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# Workflows\_Reservation + +## createReservationsWorkflow + +This workflow creates one or more reservations. + +### Steps + + + +### Input + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createReservationsWorkflow"/> + +### Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Allow backorder of the item. If true, it won't check inventory levels before reserving it.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"The created by of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createReservationsWorkflow"/> + +___ + +## deleteReservationsByLineItemsWorkflow + +This workflow deletes reservations by their associated line items. + +### Steps + + + +### Input + + + +___ + +## deleteReservationsWorkflow + +This workflow deletes one or more reservations. + +### Steps + + + +### Input + + + +___ + +## updateReservationsWorkflow + +This workflow updates one or more reservations. + +### Steps + + + +### Input + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="updateReservationsWorkflow"/> + +### Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Allow backorder of the item. If true, it won't check inventory levels before reserving it.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"The created by of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="updateReservationsWorkflow"/> diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.associateLocationsWithSalesChannelsStep/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.associateLocationsWithSalesChannelsStep/page.mdx new file mode 100644 index 0000000000..65f81de6e7 --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.associateLocationsWithSalesChannelsStep/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/steps/associateLocationsWithSalesChannelsStep +sidebar_label: associateLocationsWithSalesChannelsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# associateLocationsWithSalesChannelsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `associateLocationsWithSalesChannelsStep`. It belongs to the `@medusajs/core-flows` package. + +This step creates links between locations and sales channel records. + +## Input + + + +## Output + + diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.associateProductsWithSalesChannelsStep/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.associateProductsWithSalesChannelsStep/page.mdx new file mode 100644 index 0000000000..efd35dbb52 --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.associateProductsWithSalesChannelsStep/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/steps/associateProductsWithSalesChannelsStep +sidebar_label: associateProductsWithSalesChannelsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# associateProductsWithSalesChannelsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `associateProductsWithSalesChannelsStep`. It belongs to the `@medusajs/core-flows` package. + +This step creates links between products and sales channel records. + +## Input + + + +## Output + + diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.createDefaultSalesChannelStep/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.createDefaultSalesChannelStep/page.mdx new file mode 100644 index 0000000000..68d6d0933f --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.createDefaultSalesChannelStep/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/steps/createDefaultSalesChannelStep +sidebar_label: createDefaultSalesChannelStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createDefaultSalesChannelStep - Medusa Workflows API Reference + +This documentation provides a reference to the `createDefaultSalesChannelStep`. It belongs to the `@medusajs/core-flows` package. + +This step creates a default sales channel. + +## Input + + + +## Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](../../../../../sales_channel/interfaces/sales_channel.SalesChannelLocationDTO/page.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"The associated sales channel's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](../../../../../sales_channel/interfaces/sales_channel.SalesChannelDTO/page.mdx)","description":"The associated sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_disabled","type":"`boolean`","description":"Whether the sales channel is disabled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](../../../../../sales_channel/interfaces/sales_channel.SalesChannelLocationDTO/page.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createDefaultSalesChannelStep"/> diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.createSalesChannelsStep/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.createSalesChannelsStep/page.mdx new file mode 100644 index 0000000000..9f9f47062b --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.createSalesChannelsStep/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/steps/createSalesChannelsStep +sidebar_label: createSalesChannelsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createSalesChannelsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `createSalesChannelsStep`. It belongs to the `@medusajs/core-flows` package. + +This step creates one or more sales channels. + +## Input + + + +## Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](../../../../../sales_channel/interfaces/sales_channel.SalesChannelLocationDTO/page.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"The associated sales channel's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](../../../../../sales_channel/interfaces/sales_channel.SalesChannelDTO/page.mdx)","description":"The associated sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createSalesChannelsStep"/> diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.deleteSalesChannelsStep/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.deleteSalesChannelsStep/page.mdx new file mode 100644 index 0000000000..dcbf635bdf --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.deleteSalesChannelsStep/page.mdx @@ -0,0 +1,16 @@ +--- +slug: /references/medusa-workflows/steps/deleteSalesChannelsStep +sidebar_label: deleteSalesChannelsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deleteSalesChannelsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `deleteSalesChannelsStep`. It belongs to the `@medusajs/core-flows` package. + +This step deletes one or more sales channels. + +## Input + + diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.detachLocationsFromSalesChannelsStep/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.detachLocationsFromSalesChannelsStep/page.mdx new file mode 100644 index 0000000000..0e689f8f18 --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.detachLocationsFromSalesChannelsStep/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/steps/detachLocationsFromSalesChannelsStep +sidebar_label: detachLocationsFromSalesChannelsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# detachLocationsFromSalesChannelsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `detachLocationsFromSalesChannelsStep`. It belongs to the `@medusajs/core-flows` package. + +This step dismisses links between location and sales channel records. + +## Input + + + +## Output + + diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.detachProductsFromSalesChannelsStep/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.detachProductsFromSalesChannelsStep/page.mdx new file mode 100644 index 0000000000..7a71aa71ec --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.detachProductsFromSalesChannelsStep/page.mdx @@ -0,0 +1,16 @@ +--- +slug: /references/medusa-workflows/steps/detachProductsFromSalesChannelsStep +sidebar_label: detachProductsFromSalesChannelsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# detachProductsFromSalesChannelsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `detachProductsFromSalesChannelsStep`. It belongs to the `@medusajs/core-flows` package. + +This step dismisses links between product and sales channel records. + +## Input + + diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.updateSalesChannelsStep/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.updateSalesChannelsStep/page.mdx new file mode 100644 index 0000000000..e9bf4e957b --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/functions/core_flows.Sales_Channel.Steps_Sales_Channel.updateSalesChannelsStep/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/steps/updateSalesChannelsStep +sidebar_label: updateSalesChannelsStep +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updateSalesChannelsStep - Medusa Workflows API Reference + +This documentation provides a reference to the `updateSalesChannelsStep`. It belongs to the `@medusajs/core-flows` package. + +This step updates sales channels matching the specified filters. + +## Input + + + +## Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](../../../../../sales_channel/interfaces/sales_channel.SalesChannelLocationDTO/page.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"The associated sales channel's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](../../../../../sales_channel/interfaces/sales_channel.SalesChannelDTO/page.mdx)","description":"The associated sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="updateSalesChannelsStep"/> diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.associateLocationsWithSalesChannelsStepId/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.associateLocationsWithSalesChannelsStepId/page.mdx new file mode 100644 index 0000000000..865659b08b --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.associateLocationsWithSalesChannelsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# associateLocationsWithSalesChannelsStepId + + `Const` **associateLocationsWithSalesChannelsStepId**: `"associate-locations-with-sales-channels-step"` diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.associateProductsWithSalesChannelsStepId/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.associateProductsWithSalesChannelsStepId/page.mdx new file mode 100644 index 0000000000..55ec38692b --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.associateProductsWithSalesChannelsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# associateProductsWithSalesChannelsStepId + + `Const` **associateProductsWithSalesChannelsStepId**: `"associate-products-with-channels"` diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.createDefaultSalesChannelStepId/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.createDefaultSalesChannelStepId/page.mdx new file mode 100644 index 0000000000..6c118e588b --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.createDefaultSalesChannelStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createDefaultSalesChannelStepId + + `Const` **createDefaultSalesChannelStepId**: `"create-default-sales-channel"` diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.createSalesChannelsStepId/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.createSalesChannelsStepId/page.mdx new file mode 100644 index 0000000000..6c916b8ce2 --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.createSalesChannelsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createSalesChannelsStepId + + `Const` **createSalesChannelsStepId**: `"create-sales-channels"` diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.deleteSalesChannelsStepId/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.deleteSalesChannelsStepId/page.mdx new file mode 100644 index 0000000000..d7948eec9b --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.deleteSalesChannelsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deleteSalesChannelsStepId + + `Const` **deleteSalesChannelsStepId**: `"delete-sales-channels"` diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.detachLocationsFromSalesChannelsStepId/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.detachLocationsFromSalesChannelsStepId/page.mdx new file mode 100644 index 0000000000..5dc695d9f3 --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.detachLocationsFromSalesChannelsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# detachLocationsFromSalesChannelsStepId + + `Const` **detachLocationsFromSalesChannelsStepId**: `"detach-locations-from-sales-channels"` diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.detachProductsFromSalesChannelsStepId/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.detachProductsFromSalesChannelsStepId/page.mdx new file mode 100644 index 0000000000..584e8b29e7 --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.detachProductsFromSalesChannelsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# detachProductsFromSalesChannelsStepId + + `Const` **detachProductsFromSalesChannelsStepId**: `"detach-products-from-sales-channels-step"` diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.updateSalesChannelsStepId/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.updateSalesChannelsStepId/page.mdx new file mode 100644 index 0000000000..f0b6795959 --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Steps_Sales_Channel/variables/core_flows.Sales_Channel.Steps_Sales_Channel.updateSalesChannelsStepId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updateSalesChannelsStepId + + `Const` **updateSalesChannelsStepId**: `"update-sales-channels"` diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/functions/core_flows.Sales_Channel.Workflows_Sales_Channel.createSalesChannelsWorkflow/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/functions/core_flows.Sales_Channel.Workflows_Sales_Channel.createSalesChannelsWorkflow/page.mdx new file mode 100644 index 0000000000..5ddb22a6a7 --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/functions/core_flows.Sales_Channel.Workflows_Sales_Channel.createSalesChannelsWorkflow/page.mdx @@ -0,0 +1,24 @@ +--- +slug: /references/medusa-workflows/createSalesChannelsWorkflow +sidebar_label: createSalesChannelsWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createSalesChannelsWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `createSalesChannelsWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow creates one or more sales channels. + +## Steps + + + +## Input + + + +## Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](../../../../../sales_channel/interfaces/sales_channel.SalesChannelLocationDTO/page.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"The associated sales channel's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](../../../../../sales_channel/interfaces/sales_channel.SalesChannelDTO/page.mdx)","description":"The associated sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createSalesChannelsWorkflow"/> diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/functions/core_flows.Sales_Channel.Workflows_Sales_Channel.deleteSalesChannelsWorkflow/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/functions/core_flows.Sales_Channel.Workflows_Sales_Channel.deleteSalesChannelsWorkflow/page.mdx new file mode 100644 index 0000000000..03e92c59cd --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/functions/core_flows.Sales_Channel.Workflows_Sales_Channel.deleteSalesChannelsWorkflow/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/deleteSalesChannelsWorkflow +sidebar_label: deleteSalesChannelsWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deleteSalesChannelsWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `deleteSalesChannelsWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow deletes one or more sales channels. + +## Steps + + + +## Input + + diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/functions/core_flows.Sales_Channel.Workflows_Sales_Channel.linkProductsToSalesChannelWorkflow/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/functions/core_flows.Sales_Channel.Workflows_Sales_Channel.linkProductsToSalesChannelWorkflow/page.mdx new file mode 100644 index 0000000000..0f5f44f5db --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/functions/core_flows.Sales_Channel.Workflows_Sales_Channel.linkProductsToSalesChannelWorkflow/page.mdx @@ -0,0 +1,20 @@ +--- +slug: /references/medusa-workflows/linkProductsToSalesChannelWorkflow +sidebar_label: linkProductsToSalesChannelWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# linkProductsToSalesChannelWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `linkProductsToSalesChannelWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow creates or dismisses links between product and sales channel records. + +## Steps + + + +## Input + + diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/functions/core_flows.Sales_Channel.Workflows_Sales_Channel.updateSalesChannelsWorkflow/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/functions/core_flows.Sales_Channel.Workflows_Sales_Channel.updateSalesChannelsWorkflow/page.mdx new file mode 100644 index 0000000000..fff8cc6cb8 --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/functions/core_flows.Sales_Channel.Workflows_Sales_Channel.updateSalesChannelsWorkflow/page.mdx @@ -0,0 +1,24 @@ +--- +slug: /references/medusa-workflows/updateSalesChannelsWorkflow +sidebar_label: updateSalesChannelsWorkflow +--- + +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updateSalesChannelsWorkflow - Medusa Workflows API Reference + +This documentation provides a reference to the `updateSalesChannelsWorkflow`. It belongs to the `@medusajs/core-flows` package. + +This workflow updates sales channels matching the specified conditions. + +## Steps + + + +## Input + + + +## Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](../../../../../sales_channel/interfaces/sales_channel.SalesChannelLocationDTO/page.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"The associated sales channel's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](../../../../../sales_channel/interfaces/sales_channel.SalesChannelDTO/page.mdx)","description":"The associated sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="updateSalesChannelsWorkflow"/> diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/variables/core_flows.Sales_Channel.Workflows_Sales_Channel.createSalesChannelsWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/variables/core_flows.Sales_Channel.Workflows_Sales_Channel.createSalesChannelsWorkflowId/page.mdx new file mode 100644 index 0000000000..413085b158 --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/variables/core_flows.Sales_Channel.Workflows_Sales_Channel.createSalesChannelsWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# createSalesChannelsWorkflowId + + `Const` **createSalesChannelsWorkflowId**: `"create-sales-channels"` diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/variables/core_flows.Sales_Channel.Workflows_Sales_Channel.deleteSalesChannelsWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/variables/core_flows.Sales_Channel.Workflows_Sales_Channel.deleteSalesChannelsWorkflowId/page.mdx new file mode 100644 index 0000000000..e8e3dd3965 --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/variables/core_flows.Sales_Channel.Workflows_Sales_Channel.deleteSalesChannelsWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# deleteSalesChannelsWorkflowId + + `Const` **deleteSalesChannelsWorkflowId**: `"delete-sales-channels"` diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/variables/core_flows.Sales_Channel.Workflows_Sales_Channel.linkProductsToSalesChannelWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/variables/core_flows.Sales_Channel.Workflows_Sales_Channel.linkProductsToSalesChannelWorkflowId/page.mdx new file mode 100644 index 0000000000..77f24c36be --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/variables/core_flows.Sales_Channel.Workflows_Sales_Channel.linkProductsToSalesChannelWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# linkProductsToSalesChannelWorkflowId + + `Const` **linkProductsToSalesChannelWorkflowId**: `"link-products-to-sales-channel"` diff --git a/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/variables/core_flows.Sales_Channel.Workflows_Sales_Channel.updateSalesChannelsWorkflowId/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/variables/core_flows.Sales_Channel.Workflows_Sales_Channel.updateSalesChannelsWorkflowId/page.mdx new file mode 100644 index 0000000000..3c5bde7d82 --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/Workflows_Sales_Channel/variables/core_flows.Sales_Channel.Workflows_Sales_Channel.updateSalesChannelsWorkflowId/page.mdx @@ -0,0 +1,5 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# updateSalesChannelsWorkflowId + + `Const` **updateSalesChannelsWorkflowId**: `"update-sales-channels"` diff --git a/www/apps/resources/references/core_flows/Sales_Channel/core_flows.Sales_Channel.Steps_Sales_Channel/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/core_flows.Sales_Channel.Steps_Sales_Channel/page.mdx new file mode 100644 index 0000000000..728a8eb4fe --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/core_flows.Sales_Channel.Steps_Sales_Channel/page.mdx @@ -0,0 +1,105 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# Steps\_Sales Channel + +## associateLocationsWithSalesChannelsStep + +This step creates links between locations and sales channel records. + +### Input + + + +### Output + + + +___ + +## associateProductsWithSalesChannelsStep + +This step creates links between products and sales channel records. + +### Input + + + +### Output + + + +___ + +## createDefaultSalesChannelStep + +This step creates a default sales channel. + +### Input + + + +### Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](../../../sales_channel/interfaces/sales_channel.SalesChannelLocationDTO/page.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"The associated sales channel's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](../../../sales_channel/interfaces/sales_channel.SalesChannelDTO/page.mdx)","description":"The associated sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_disabled","type":"`boolean`","description":"Whether the sales channel is disabled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](../../../sales_channel/interfaces/sales_channel.SalesChannelLocationDTO/page.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createDefaultSalesChannelStep"/> + +___ + +## createSalesChannelsStep + +This step creates one or more sales channels. + +### Input + + + +### Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](../../../sales_channel/interfaces/sales_channel.SalesChannelLocationDTO/page.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"The associated sales channel's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](../../../sales_channel/interfaces/sales_channel.SalesChannelDTO/page.mdx)","description":"The associated sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createSalesChannelsStep"/> + +___ + +## deleteSalesChannelsStep + +This step deletes one or more sales channels. + +### Input + + + +___ + +## detachLocationsFromSalesChannelsStep + +This step dismisses links between location and sales channel records. + +### Input + + + +### Output + + + +___ + +## detachProductsFromSalesChannelsStep + +This step dismisses links between product and sales channel records. + +### Input + + + +___ + +## updateSalesChannelsStep + +This step updates sales channels matching the specified filters. + +### Input + + + +### Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](../../../sales_channel/interfaces/sales_channel.SalesChannelLocationDTO/page.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"The associated sales channel's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](../../../sales_channel/interfaces/sales_channel.SalesChannelDTO/page.mdx)","description":"The associated sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="updateSalesChannelsStep"/> diff --git a/www/apps/resources/references/core_flows/Sales_Channel/core_flows.Sales_Channel.Workflows_Sales_Channel/page.mdx b/www/apps/resources/references/core_flows/Sales_Channel/core_flows.Sales_Channel.Workflows_Sales_Channel/page.mdx new file mode 100644 index 0000000000..67f9fb4f21 --- /dev/null +++ b/www/apps/resources/references/core_flows/Sales_Channel/core_flows.Sales_Channel.Workflows_Sales_Channel/page.mdx @@ -0,0 +1,65 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# Workflows\_Sales Channel + +## createSalesChannelsWorkflow + +This workflow creates one or more sales channels. + +### Steps + + + +### Input + + + +### Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](../../../sales_channel/interfaces/sales_channel.SalesChannelLocationDTO/page.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"The associated sales channel's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](../../../sales_channel/interfaces/sales_channel.SalesChannelDTO/page.mdx)","description":"The associated sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="createSalesChannelsWorkflow"/> + +___ + +## deleteSalesChannelsWorkflow + +This workflow deletes one or more sales channels. + +### Steps + + + +### Input + + + +___ + +## linkProductsToSalesChannelWorkflow + +This workflow creates or dismisses links between product and sales channel records. + +### Steps + + + +### Input + + + +___ + +## updateSalesChannelsWorkflow + +This workflow updates sales channels matching the specified conditions. + +### Steps + + + +### Input + + + +### Output + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](../../../sales_channel/interfaces/sales_channel.SalesChannelLocationDTO/page.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"The associated sales channel's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](../../../sales_channel/interfaces/sales_channel.SalesChannelDTO/page.mdx)","description":"The associated sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="updateSalesChannelsWorkflow"/> diff --git a/www/apps/resources/references/core_flows/core_flows.Promotion/page.mdx b/www/apps/resources/references/core_flows/core_flows.Promotion/page.mdx new file mode 100644 index 0000000000..32ae0b6f3d --- /dev/null +++ b/www/apps/resources/references/core_flows/core_flows.Promotion/page.mdx @@ -0,0 +1,8 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# Promotion + +## Namespaces + +- [Steps\_Promotion](../core_flows.Steps_Promotion/page.mdx) +- [Workflows\_Promotion](../core_flows.Workflows_Promotion/page.mdx) diff --git a/www/apps/resources/references/core_flows/core_flows.Reservation/page.mdx b/www/apps/resources/references/core_flows/core_flows.Reservation/page.mdx new file mode 100644 index 0000000000..3d389dbb5d --- /dev/null +++ b/www/apps/resources/references/core_flows/core_flows.Reservation/page.mdx @@ -0,0 +1,8 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# Reservation + +## Namespaces + +- [Steps\_Reservation](../core_flows.Steps_Reservation/page.mdx) +- [Workflows\_Reservation](../core_flows.Workflows_Reservation/page.mdx) diff --git a/www/apps/resources/references/core_flows/core_flows.Sales_Channel/page.mdx b/www/apps/resources/references/core_flows/core_flows.Sales_Channel/page.mdx new file mode 100644 index 0000000000..2a16c32fd5 --- /dev/null +++ b/www/apps/resources/references/core_flows/core_flows.Sales_Channel/page.mdx @@ -0,0 +1,8 @@ +import { TypeList, WorkflowDiagram } from "docs-ui" + +# Sales Channel + +## Namespaces + +- [Steps\_Sales Channel](../core_flows.Steps_Sales_Channel/page.mdx) +- [Workflows\_Sales Channel](../core_flows.Workflows_Sales_Channel/page.mdx)