fix(core-flows,medusa): Include region_id in shipping option retrieval (#9929)

### What
Include `region_id` when retrieving shipping options for a cart

### Why
Otherwise, region-specific prices will never show in the Store API

Closes CMRC-655 https://github.com/medusajs/medusa/issues/9906
This commit is contained in:
Oli Juhl
2024-11-06 15:59:47 +00:00
committed by GitHub
parent c9a2b42252
commit c1c85ef952
5 changed files with 94 additions and 28 deletions
@@ -86,6 +86,7 @@ export const listShippingOptionsForCartWorkflow = createWorkflow(
calculated_price: {
context: {
currency_code: input.currency_code,
region_id: input.region_id,
},
},
},