InventoryItemSet
InventoryItemSet Type
Represents a collection or set of inventory items grouped by a common Stock Keeping Unit (SKU). InventoryItemSet allows managing multiple instances of the same product type as a single logical unit.
Fields
id
ID!
Unique identifier of the item set
tenantID
UUID!
Tenant identifier
dataTypeID
UUID
DataType identifier for schema validation
dataTypeSlug
String
DataType slug for easier reference
data
Map
Custom metadata stored as JSON
createdAt
Time!
Creation timestamp
createdBy
UUID!
User identifier who created the item set
updatedAt
Time
Last update timestamp
updatedBy
UUID
User identifier who last updated the item set
deletedAt
Time
Deletion timestamp
deletedBy
UUID
User identifier who deleted the item set
sku
String!
Stock Keeping Unit identifier
items
[InventoryItem!]
List of individual inventory items in this set
Interfaces
Node
Usage Example
Mutation Examples
Create an InventoryItemSet
Update an InventoryItemSet
Delete an InventoryItemSet
Relations
InventoryItemSet
1:NInventoryItem: An item set contains multiple individual inventory itemsInventoryItemSet
N:1DataType: Item sets can reference a DataType for schema validation
Common Use Cases
Product Variants: Group items with the same SKU but different attributes (size, color, etc.)
Batch Management: Manage inventory items received or manufactured in the same batch
Bundle Products: Create logical groupings of related products sold together
Kit Assembly: Manage component items that make up a complete product kit
Inventory Organization: Group items for easier tracking and reporting by product line
Best Practices
Use consistent SKU naming conventions across your organization
Leverage the
datafield to store product-specific metadataConsider using DataTypes to enforce consistent data structure
Monitor item set relationships when performing inventory movements
Use workflows to track complex operations on item sets
Last updated
Was this helpful?
