Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Assign fulfillment location when creating orders

Assign fulfillment location when creating orders

peters
New Member
5 0 0

Hi,

We have a consumer mobile app that creates orders in Shopify for hyper-local delivery of products by bicycle, so it's key that the orders get fulfilled from the right location (closest to where the user lives, determined by the mobile app). Currently we only have 1 location, but will soon have several locations/stores, and I'm trying to figure out how I can assign orders to the right location for fulfillment.

I'm using the GraphQL mutations draftOrderCreate followed by draftOrderComplete from our mobile app to create the orders today and am now wondering how I can specify which location each order should be fulfilled from in this integration? Optimally we can set the location for each order before calling draftOrderComplete, as any new orders in Shopify immediately gets synced to our Warehouse Management System for picking and delivery to the customer.

Thank you in advance for assistance!

Replies 0 (0)