Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

warehouse Query

Look up a warehouse by ID.

Requires one of the following permissions:MANAGE_PRODUCTSMANAGE_ORDERSMANAGE_SHIPPING
warehouse(id: ID, externalReference: String): Warehouse

Returns

Warehouse

Show return type
type Warehouse implements Node & ObjectWithMetadata {
  id: ID!
  privateMetadata: [MetadataItem!]!
  privateMetafield(key: String!): String
  privateMetafields(keys: [String!]): Metadata
  metadata: [MetadataItem!]!
  metafield(key: String!): String
  metafields(keys: [String!]): Metadata
  name: String!
  slug: String!
  email: String!
  isPrivate: Boolean!
  address: Address!
  companyName: String! @deprecated(reason: "Use `Address.companyName` instead.")
  clickAndCollectOption: WarehouseClickAndCollectOptionEnum!
  shippingZones(before: String, after: String, first: Int, last: Int): ShippingZoneCountableConnection!
  stocks(before: String, after: String, first: Int, last: Int): StockCountableConnection
  externalReference: String
}

Arguments

id

id · ID

ID of a warehouse.

externalReference

externalReference · String

External ID of a warehouse.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?