Create Inventory Item

Create Inventory Item Mutation

Creates a new InventoryItem object in the system.

Arguments

Name
Type
Description

input

CreateInventoryItemInput!

Input data for creating the inventory item

Return Type

InventoryItemOutput - Contains the created inventory item and any related workflows.

Input Fields

CreateInventoryItemInput:

Field
Type
Description

dataTypeID

UUID

Optional data type ID

dataTypeSlug

String

Optional data type slug

data

Map

Custom data associated with the item

sku

String!

Required stock keeping unit (SKU) - unique identifier for the item

inventoryJSONData

Map

Additional inventory-specific JSON data

itemmovementitemIDs

[ID!]

Optional IDs of item movements to associate

itemtransactionIDs

[ID!]

Optional IDs of transactions to associate

itemstockIDs

[ID!]

Optional IDs of stock records to associate

itemsetIDs

[ID!]

Optional IDs of item sets to associate

Usage Example

Last updated

Was this helpful?