OBJECT
Warehouse
link GraphQL Schema definition
1 type Warehouse { 2 Int! : 3 4 String! : 5 6 Status! : 7 8 WarehouseStockOwnership! : 9 10 WarehouseAllocationPolicy! : 11 12 WarehouseStockMaster! : 13 14 Boolean! : 15 16 Boolean! : 17 18 Int : 19 20 # Required permission: BrickAndMortar:read 21 BrickAndMortar : 22 23 String : 24 25 String : 26 27 # Required permission: none 28 Country : 29 30 # Required permission: none 31 CountryState : 32 33 String : 34 35 String : 36 37 # Required permission: AllocationRule:read 38 # 39 # All elements are always returned 40 AllocationRule!]! : [ 41 42 # Required permission: StockChange:read 43 # 44 # Limit must be in range 1 - 200 45 # 46 # Arguments 47 # where: (self-explanatory) 48 # sort: (self-explanatory) 49 # limit: (self-explanatory) 50 # page: (self-explanatory) 51 StockChangeFilter, : [StockChangeSort!] = [id_DESC], : Int = 20, : Int = 1): [StockChange!]! ( : 52 53 # Required permission: Warehouse.stock:read 54 # 55 # Limit must be in range 1 - 200 56 # 57 # Arguments 58 # where: (self-explanatory) 59 # sort: (self-explanatory) 60 # limit: (self-explanatory) 61 # page: (self-explanatory) 62 StockFilter, : [StockSort!] = [productId_ASC, productVariantId_ASC, productSizeSort_ASC], : Int = 20, : Int = 1): [Stock!]! ( : 63 64 # Required permission: Warehouse.stockTotals:read 65 # 66 # Arguments 67 # where: (self-explanatory) 68 StockTotalsFilter): StockTotals! ( : 69 70 String : 71 72 }
link Required by
- Account
- Allocation
- BrickAndMortar
- DirectToConsumerReturn
- EventTarget Contains object types, which are possible values of EventObjectType, with interfaces resolved to concrete types
- GeographyAllocationPrioritySet
- OrderAllocationSplit
- PurchaseOrder
- PurchaseOrderDelivery
- Query The main queries are here, click to expand
- Return
- Stock Quantities in Stock have the following meaning > physical ordered incoming* > / \ / \ / \ > freeToAllocate allocated demand - linked* unlinked* > `demand` is decreased by `linked` quantity when supplier module is enabled > > `unshipped` = all ordered items which are not in a "sent" shipment > > `availableNow` = `freeToAllocate` - `demand` > > `available`* = `availableNow` + `unlinked`* > > `on delivery`* = number of incoming items from supplier orders, > which are present in supplier deliveries > *from the Supplier Module **Caution: neither `stockOffset` from `ProductVariant`, nor `threshold` from `Warehouse` are included in the returned `freeToAllocate`. If your integration requires them for stock calculation, you can fetch these numbers and compare to the returned stock values.** [More information](https://support.centra.com/centra-sections/general/catalog/stock-view-explanations)
- StockChange
- StockChangeLine
- Supplier
- WarehouseAllocationPriority
- WarehouseCreatePayload
- WarehouseDelivery
- WarehouseDeliveryLine
- WarehouseUpdatePayload
- WholesaleReturn