Loading...
Was this page helpful?
This documentation provides a reference to the updateOrderTaxLinesWorkflow. It belongs to the @medusajs/medusa/core-flows package.
This workflow updates the tax lines of items and shipping methods in an order. It's used by other order-related workflows, such as the createOrderWorkflow to set the order's tax lines.
You can use this workflow within your customizations or your own custom workflows, allowing you to update an order's tax lines in your custom flows.
Source CodeWorkflow hook
Step conditioned by when
View step details
UpdateOrderTaxLinesWorkflowInputUpdateOrderTaxLinesWorkflowInputorder_idstringitem_idsstring[]Optionalshipping_method_idsstring[]Optionalforce_tax_calculationbooleanOptionalis_returnbooleanOptional