Our App API Key:
Shop in question:
We own an app that handles the creation of Fulfillments in the shopping cart once the sales order has been fulfilled on our shipping platform.
The introduction of mutli-location inventory tracking has caused a number of problems for us due to unclear documentation on the following:
Edit 13 August 2018:
Additionally, the docs state:
When creating a fulfillment, you will need to specify a location_id indicating the location from which you're fulfilling the order. If you want to fulfill line items at different locations, then create a separate fulfillment for each line item belonging to a different location.
However the documentation doesn't specify in what situations an order would be created where multiple fulfillments (which have a separate fulfillment location) would need to be created.
If I subscribe to the orders paid webhook, and the order contains a product that has stock sourced from 2 locations, how is this represented in the JSON body?
I.e. is the location_id split across each line item in the order body?