Create Inventory Repository

createInventoryRepository Mutation

Creates a new Repository in the inventory system.

Arguments

Name
Type
Description

input

CreateRepositoryInput!

Input data for creating the repository

Return Type

InventoryRepositoryOutput - Contains the created repository and any associated workflows.

Input Fields

CreateRepositoryInput:

Field
Type
Description

dataTypeID

UUID

Optional data type ID

dataTypeSlug

String

Optional data type slug

data

Map

Custom data associated with the repository

parentID

UUID

Optional parent repository ID for hierarchical structures

name

String!

Required name of the repository

layout

String

Optional layout information for the repository

type

RepositoryType!

Required type of the repository (WAREHOUSE, SHELF, BIN, etc.)

virtualRepo

Boolean

Whether this is a virtual repository (non-physical location)

Usage Example

Last updated

Was this helpful?