Overview
In Shopify, a Location represents a physical store, warehouse, pop-up, or 3PL dropshipper where inventory is stocked or fulfilled.
type Location {
id: ID!
name: String!
address: LocationAddress!
fulfillmentService: FulfillmentService
isPrimary: Boolean!
isActive: Boolean!
}
Developer Takeaway
Primary Location Fallback: Always check if a location isActive and has fulfillment permissions before attempting to assign order fulfillments to that location ID.