When retrieving Locations form the API, getting legacy:false value

Shopify Partner
1 0 0

when looking through the api reference(https://shopify.dev/api/admin-rest/2022-07/resources/location#resource-object) I see the property "legacy" which, according to the docs, is the property to signal if the location has a fulfilment center. I have a store with a location which has a fulfilment center set, but I am getting the legacy:false value from the API.

anyone knows what I need to do on the store settings to change this prop to true?

Reply 1 (1)

Shopify Staff
42 10 10

Hey @matanc ,

The "legacy" field indicates wether the location is a FulfillmentService, as in a third party warehouse created through the API, with it's own location, rather than a store location that also fulfils orders.


JamesG | API Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog