From 86c975258b7f3a2f1d49117f7a4139806812a8e7 Mon Sep 17 00:00:00 2001 From: Nicolas Gorga <62995075+NicolasGorga@users.noreply.github.com> Date: Tue, 7 Oct 2025 13:47:49 -0300 Subject: [PATCH] fix(core-flows): fix shipping_total showing as 0 in createFulfillment method (#13704) Fixes #13454 --- .changeset/thirty-experts-travel.md | 5 +++++ .../core-flows/src/order/workflows/create-fulfillment.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/thirty-experts-travel.md diff --git a/.changeset/thirty-experts-travel.md b/.changeset/thirty-experts-travel.md new file mode 100644 index 0000000000..26a38ac33e --- /dev/null +++ b/.changeset/thirty-experts-travel.md @@ -0,0 +1,5 @@ +--- +"@medusajs/core-flows": patch +--- + +fix(core-flows): fix shipping_total showing as 0 in createFulfillment method diff --git a/packages/core/core-flows/src/order/workflows/create-fulfillment.ts b/packages/core/core-flows/src/order/workflows/create-fulfillment.ts index 86bb1f42b3..7e76fded7a 100644 --- a/packages/core/core-flows/src/order/workflows/create-fulfillment.ts +++ b/packages/core/core-flows/src/order/workflows/create-fulfillment.ts @@ -442,6 +442,7 @@ export const createOrderFulfillmentWorkflow = createWorkflow( "shipping_methods.id", "shipping_methods.shipping_option_id", "shipping_methods.data", + "shipping_methods.amount", ], variables: { id: input.order_id }, list: false,