Loading...
Was this page helpful?
This documentation provides a reference to the maybeRefreshShippingMethodsWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflows refreshes shipping method prices of an order and its changes. It's used in Return Merchandise Authorization (RMA) flows. It's used by other workflows, such as refreshExchangeShippingWorkflow.
You can use this workflow within your customizations or your own custom workflows, allowing you to wrap custom logic around refreshing shipping methods in your custom flows.
Source CodeWorkflow hook
Step conditioned by when
View step details
MaybeRefreshShippingMethodsWorkflowInput
MaybeRefreshShippingMethodsWorkflowInputshipping_method_id
stringorder_id
stringaction_id
stringcontext
CalculatedRMAShippingContext