OBJECT

Warehouse

link GraphQL Schema definition

1type Warehouse {
2id: Int!
3
4name: String!
5
6status: Status!
7
8stockOwnership: WarehouseStockOwnership!
9
10allocationPolicy: WarehouseAllocationPolicy!
11
12stockMaster: WarehouseStockMaster!
13
14isConsignation: Boolean!
15
16isHiddenFromStockView: Boolean!
17
18threshold: Int
19
20# Required permission: BrickAndMortar:read
21brickAndMortar: BrickAndMortar
22
23# Required permission: none
24country: Country
25
26# Required permission: none
27state: CountryState
28
29# Required permission: AllocationRule:read
30#
31# All elements are always returned
32usedByAllocationRules: [AllocationRule!]!
33
34# Required permission: WarehouseDelivery:read
35#
36# Limit must be in range 1 - 200
37#
38# Arguments
39# where: (self-explanatory)
40# sort: (self-explanatory)
41# limit: (self-explanatory)
42# page: (self-explanatory)
43warehouseDeliveries(
44where: WarehouseDeliveryFilter,
45sort: [WarehouseDeliverySort!] = [id_DESC],
46limit: Int = 20,
47page: Int = 1
48): [WarehouseDelivery!]!
49
50# Required permission: Warehouse.stock:read
51#
52# Limit must be in range 1 - 200
53#
54# Arguments
55# where: (self-explanatory)
56# sort: (self-explanatory)
57# limit: (self-explanatory)
58# page: (self-explanatory)
59stock(where: StockFilter, sort: [StockSort!] = [productId_ASC, productVariantId_ASC, productSizeSort_ASC], limit: Int = 20, page: Int = 1): [Stock!]!
60
61# Required permission: Warehouse.stockTotals:read
62#
63# Arguments
64# where: (self-explanatory)
65stockTotals(where: StockTotalsFilter): StockTotals!
66
67}