feat(fulfillment, core-flows): Apply correct address and context + cleanup (#7230)

The tests will be added in subsequent requests where the worklows are being worked on
This commit is contained in:
Adrien de Peretti authored and GitHub committed 2024-05-03 15:44:22 +00:00
1 parent 4fe28f5a95
commit 520867b074
3 files changed
+25 -42

No files matched your search

@@ -46,7 +46,7 @@ export const listShippingOptionsForCartWorkflow = createWorkflow(
variables: {
id: input.sales_channel_id,
"stock_locations.fulfillment_sets.service_zones.shipping_options": {
context: {
filters: {
address: {
city: input.shipping_address?.city,
country_code: input.shipping_address?.country_code,