Warehouse
Represents a warehouse where stock is stored.
type Warehouse implements Node, ObjectWithMetadata {
id: ID!
metadata: [MetadataItem!]!
privateMetadata: [MetadataItem!]!
name: String!
slug: String!
companyName: String!
email: String!
externalId: String
externalSource: String
externalInventoryId: String
seller: Seller
address: Address
shippingZones(
before: String
after: String
first: Int
last: Int
): ShippingZoneCountableConnection!
}
Fields
Warehouse.id ● ID! non-null scalar
The Globally Unique ID of this object
Warehouse.metadata ● [MetadataItem!]! non-null object
List of public metadata items. Can be accessed without permissions.
Warehouse.privateMetadata ● [MetadataItem!]! non-null object
List of private metadata items. Requires proper staff permissions to access.
Warehouse.name ● String! non-null scalar
Warehouse.slug ● String! non-null scalar
Warehouse.companyName ● String! non-null scalar
Warehouse.email ● String! non-null scalar
Warehouse.externalId ● String scalar
Warehouse.externalSource ● String scalar
Warehouse.externalInventoryId ● String scalar
Warehouse.seller ● Seller object
The seller who owns this warehouse
Warehouse.address ● Address object
The physical address of this warehouse
Warehouse.shippingZones ● ShippingZoneCountableConnection! non-null object
Shipping zones served by this warehouse.
Warehouse.shippingZones.before ● String scalar
Returns the items in the list that come before the specified cursor.
Warehouse.shippingZones.after ● String scalar
Returns the items in the list that come after the specified cursor.
Warehouse.shippingZones.first ● Int scalar
Returns the first n items from the list.
Warehouse.shippingZones.last ● Int scalar
Returns the items in the list that come after the specified cursor.
Interfaces
Node interface
An object with a Globally Unique ID
ObjectWithMetadata interface
An object that supports metadata.
Returned By
warehouse query
Member Of
Allocation object ● Fulfillment object ● NauticalOrderEvent object ● OrderEvent object ● ShippingZone object ● Stock object ● WarehouseCountableEdge object ● WarehouseCreate object ● WarehouseDelete object ● WarehouseUpdate object