Skip to main content

Stock

Represents stock.

type Stock implements Node {
id: ID!
warehouse: Warehouse!
productVariant: ProductVariant!
quantity: Int!
quantityAllocated: Int!
quantityReserved: Int!
}

Fields

Stock.id ● ID! non-null scalar miscellaneous

The ID of stock.

Stock.warehouse ● Warehouse! non-null object products

The warehouse associated with the stock.

Stock.productVariant ● ProductVariant! non-null object products

Information about the product variant.

Stock.quantity ● Int! non-null scalar miscellaneous

Quantity of a product in the warehouse's possession, including the allocated stock that is waiting for shipment.

Requires one of the following permissions: MANAGE_PRODUCTSMANAGE_ORDERS

Stock.quantityAllocated ● Int! non-null scalar miscellaneous

Quantity allocated for orders.

Requires one of the following permissions: MANAGE_PRODUCTSMANAGE_ORDERS

Stock.quantityReserved ● Int! non-null scalar miscellaneous

Quantity reserved for checkouts.

Requires one of the following permissions: MANAGE_PRODUCTSMANAGE_ORDERS

Interfaces

Node interface miscellaneous

An object with an ID

Returned By

stock query

Member Of

ProductVariant object ● StockBulkResult object ● StockCountableEdge object