Types > VariantInventory
Commerce APITypesVariantInventory
VariantInventory

Description

Topic: Inventory

Fields

available: Int!

Total amount of items available for orders to reserve (essentially: on_hand - committed)

Example: 0


committed: Int!

Total amount of items reserved by paid orders

Example: 0


id: String!

Unique variant inventory identifier. See also: Unique Identifiers

Example: "vi_EQzGqWoY"


incoming: Int!

Total amount of incoming items

Example: 0


locations: [VariantInventoryLocation!]!


on_hand: Int!

Total amount of items in the inventory

Example: 0


status: InventoryStockStatusAggregated!

Aggregated stock status of all inventory locations

Example: "mixed"


variant: ProductVariant

Product variant this inventory refers to

Expandable

Permission bit: "product_variants.read"


Used By

Mutations

variantInventoryCreate

Queries

variantInventory

Types

ProductVariant

Preview (typescript)

Loading module