Skip to main content

InventoryResponse

No description

type InventoryResponse {
id: ID!
productId: Int!
quantity: Int!
costPrice: Float!
supplier: String!
supplierCode: String!
sku: String!
dateModified: DateTime
warehouseId: Int!
location: String!
nextDeliveryDate: DateTime!
notes: String!
messages: [String!]!
total: Int!
warehouse: Warehouse
}

Fields

InventoryResponse.id ● ID! non-null scalar

Inventory primary identifier

InventoryResponse.productId ● Int! non-null scalar

Inventory product identifier

InventoryResponse.quantity ● Int! non-null scalar

Inventory quantity

InventoryResponse.costPrice ● Float! non-null scalar

Inventory cost price

InventoryResponse.supplier ● String! non-null scalar

Inventory supplier

InventoryResponse.supplierCode ● String! non-null scalar

Inventory supplier code

InventoryResponse.sku ● String! non-null scalar

Inventory sku

InventoryResponse.dateModified ● DateTime scalar

Inventory last modified date

InventoryResponse.warehouseId ● Int! non-null scalar

Inventory warehouse identifier

InventoryResponse.location ● String! non-null scalar

Inventory location

InventoryResponse.nextDeliveryDate ● DateTime! non-null scalar

Inventory estimated next delivery date

InventoryResponse.notes ● String! non-null scalar

Inventory note

InventoryResponse.messages ● [String!]! non-null scalar

Error messages

InventoryResponse.total ● Int! non-null scalar

Total

InventoryResponse.warehouse ● Warehouse object

Returned By

inventory query ● inventoryCreate mutation ● inventoryUpdate mutation