createInventoryRepository
Since pyck v0.27.0
Served by: inventory
Arguments
Section titled “Arguments”| Name | Type | Default | Description |
|---|---|---|---|
input |
CreateRepositoryInput! |
Returns
Section titled “Returns”Example
Section titled “Example”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" }}