Skip to main content

Warehouse

A warehouse

type Warehouse {
address: Address
archiveBlockingReasons: [String!]!
archived: Boolean!
archivedAt: ISO8601DateTime
brand: Brand @deprecated
brandId: ID @deprecated
canBeArchived: Boolean!
company: Party!
companyId: ID!
createdAt: ISO8601DateTime!
default: Boolean!
deletedAt: ISO8601DateTime @deprecated
email: Email
externalData: [WarehouseExternalData!]
fulfillmentIntegration: Integration
id: ID!
inventorySource: [WarehouseExternalData!]
inventorySourceId: ID
inventorySummary: BuildingInventorySummary
locations: [Location!]
managed: Boolean! @deprecated
name: String!
priority: Int
processFulfillments: Boolean! @deprecated
residential: Boolean!
sourceFulfillmentIntegration: Integration
sourceFulfillmentIntegrationId: ID
sourceIntegration: Integration
sourceIntegrationId: ID
status: StatusEnum!
updatedAt: ISO8601DateTime!
}

Fields​

Warehouse.address ● Address object common​

The "Address" field denotes the address of the warehouse.

Warehouse.archiveBlockingReasons ● [String!]! non-null scalar common​

Human-readable reasons why the record cannot be archived, or empty if it can.

Warehouse.archived ● Boolean! non-null scalar common​

Whether the record is archived.

Warehouse.archivedAt ● ISO8601DateTime scalar common​

When the record was archived, or null if it is not archived.

Warehouse.brand ● Brand deprecated object common​

DEPRECATED

This field will be removed in the future. Brand is becoming a product-only attribute. Use company context instead.

Warehouse.brandId ● ID deprecated scalar common​

DEPRECATED

This field will be removed in the future. Brand is becoming a product-only attribute. Use company context instead.

Warehouse.canBeArchived ● Boolean! non-null scalar common​

Whether the record can be archived according to its archiving rules.

Warehouse.company ● Party! non-null object common​

The "Company" field denotes the company that owns the warehouse. The company represents a party in the system.

Warehouse.companyId ● ID! non-null scalar common​

Warehouse.createdAt ● ISO8601DateTime! non-null scalar common​

Warehouse.default ● Boolean! non-null scalar common​

The "Default" field denotes whether the warehouse is the default warehouse for the brand.

Warehouse.deletedAt ● ISO8601DateTime deprecated scalar common​

DEPRECATED

Use archived_at instead. This field will be removed in the future. Update your queries to use the new field.

The "Deleted At" field denotes the date and time that the warehouse was deleted. If the warehouse has not been deleted, this field will be null.

Warehouse.email ● Email scalar common​

The building's primary email address.

Warehouse.externalData ● [WarehouseExternalData!] list object warehouses​

The "External Data" field denotes the external data that is stored with the warehouse.

Warehouse.fulfillmentIntegration ● Integration object integrations​

The fulfillment integration used by the warehouse.

Warehouse.id ● ID! non-null scalar common​

Warehouse.inventorySource ● [WarehouseExternalData!] list object warehouses​

The "Inventory Source" field denotes the external warehouse that is related to the warehouse.

Warehouse.inventorySourceId ● ID scalar common​

The ID of the external warehouse that is related to the warehouse.

Warehouse.inventorySummary ● BuildingInventorySummary object common​

Physical inventory totals for this building. Requires the list_inventory permission.

Warehouse.locations ● [Location!] list object warehouses​

Warehouse.managed ● Boolean! deprecated non-null scalar common​

DEPRECATED

Use processFulfillments instead.

Whether the warehouse is managed by the system.

Warehouse.name ● String! non-null scalar common​

Warehouse.priority ● Int scalar common​

This field defines the priority of the warehouse for fulfillment and routing. Warehouses with a lower priority are preferred over warehouses with a higher priority.

Warehouse.processFulfillments ● Boolean! deprecated non-null scalar common​

DEPRECATED

Legacy warehouse setting. V2 fulfillment shipment rules use allocationRequired on the fulfillment.

Whether Endless actively processes fulfillments for this building: allocate inventory, send downstream, and run the fulfillment lifecycle.

Warehouse.residential ● Boolean! non-null scalar common​

The "Residential" field denotes whether the warehouse is a residential address. This information aids in determining the shipping method of an order.

Warehouse.sourceFulfillmentIntegration ● Integration object integrations​

The integration that is the source of fulfillment data for this warehouse. When present, the warehouse is externally managed by this integration.

Warehouse.sourceFulfillmentIntegrationId ● ID scalar common​

The ID of the integration that is the source of fulfillment data for this warehouse.

Warehouse.sourceIntegration ● Integration object integrations​

The source integration that manages the warehouse. If not provided, the warehouse.

Warehouse.sourceIntegrationId ● ID scalar common​

The ID of the source integration that manages the warehouse.

Warehouse.status ● StatusEnum! non-null enum common​

Warehouse.updatedAt ● ISO8601DateTime! non-null scalar common​

Returned By​

archiveWarehouse mutation ● registerWarehouse mutation ● unarchiveWarehouse mutation ● updateWarehouse mutation ● warehouse query ● warehouseUpdates subscription

Member Of​

ASN object ● Brand object ● ItemAllocation object ● Location object ● OrderFulfillment object ● RoutingBuilding object ● SalesChannel object ● SalesChannelWarehouse object ● SupplyOrder object ● SupplyOrderItem object ● SupplyShipment object ● SupplyWarehouseComposition object ● WarehouseConnection object ● WarehouseEdge object