Loading...
Was this page helpful?
This documentation provides a reference to the updateTaxLinesWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow updates a cart's tax lines that are applied on line items and shipping methods. You can update the line item's quantity, unit price, and more. This workflow is executed by the Calculate Taxes Store API Route.
You can use this workflow within your own customizations or custom workflows, allowing you to update a cart's tax lines in your custom flows.
Source CodeWorkflow hook
Step conditioned by when
View step details
UpdateTaxLinesWorkflowInput
UpdateTaxLinesWorkflowInputcart_id
stringOptionalcart
anyOptionalforce_tax_calculation
booleanOptionalDefault: false