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
UpdateOrderTaxLinesWorkflowInput
UpdateOrderTaxLinesWorkflowInputorder_id
stringitem_ids
string[]Optionalshipping_method_ids
string[]Optionalforce_tax_calculation
booleanOptionalis_return
booleanOptional