Skip to content
Pyck docs

createInventoryRepository

Since pyck v0.27.0

Served by: inventory

Name Type Default Description
input CreateRepositoryInput!

InventoryRepositoryOutput

Creates a new inventory repository (storage location).

mutation CreateInventoryRepository($input: CreateRepositoryInput!) {
createInventoryRepository(input: $input) {
eventCount
inventoryRepository {
createdAt
createdBy
data
dataTypeID
dataTypeSlug
deletedAt
deletedBy
id
layout
locationID
name
parentID
tenantID
type
updatedAt
updatedBy
virtualRepo
}
transactionID
}
}

Variables

{
"input": {
"name": "Warehouse Shelf A1",
"type": "static"
}
}