Covers all questions related to inventory management, order fulfillment, and shipping.
I can't see a fulfilment location ID in the order JSON; without this ID how is it possible to know which location to fulfil against?
EDIT: I could map the fulfilment locations in Shopify to the Fulfilment locations (or the equivalent) in the ERP then the ERP would pass that Shopify fulfilment location ID into to the Fulfilment JSON.
How are other people handling this?
Thanks
Hi There,
you can't rely on the information in the order json. You should use the fulfillmentorder resource. This will get you which items are to be delivered by which location and in which quantity.
https://shopify.dev/docs/api/admin-rest/2023-04/resources/fulfillmentorder
Cheers,
Gary