FROM CACHE - en_header

Getting the sender/warehouse address information of an order that has no fufillments

Shopify Partner
8 1 0

I am in charge of maintaining an app that allows customers to take some shopify order information into some relevant shipping information.

We're running into issues when an order has products coming from a warehouse location, or any address other than their 'main' or headquarters address.

Where can we find the warehouse location or information, assuming no fulfillment information exists?

Reply 1 (1)
Shopify Partner
18 3 3

Im having the same problem. Actually i made a post some hours ago but it was taked as spam.

I understand that you can get the information that you need with the api: fulfillmentorder.

Using the following endpoint:

GET /admin/api/2021-07/orders/{order_id}/fulfillment_orders.json

You get all the fulfillment orders associated with a given {order_id}.

However, im reciving a status 200 with a empty array every time i make a resquest:

    "fulfillment_orders": []


But you should receive an array with all the fulfillment orders instead, where you can get the associated_location_id. With that id you know which location is associated with each fulfillment order.

I wolud like to know if this work for you so y can know if its a individual problem or a general one.