Creates a new receiving inbound item and associates it with an existing receiving inbound order. This allows adding individual items to a receiving order after it has been created.
Arguments
Name
Type
Description
input
CreateReceivingInboundItemInput!
Input data for creating the receiving inbound item
Return Type
ReceivingInboundItemOutput - Contains the created receiving inbound item and any associated workflows.
Input Fields
CreateReceivingInboundItemInput:
Field
Type
Description
dataTypeID
UUID
Optional data type ID for custom validation
dataTypeSlug
String
Optional data type slug for custom validation
data
Map
Custom data associated with the inbound item
sku
String!
Required stock keeping unit (SKU) of the item
quantity
Int!
Required quantity of the item being received
inboundID
ID!
Required ID of the receiving inbound order to associate this item with
Usage Example
JavaScript Example
Batch Creation Example
You can create multiple inbound items for the same order:
Notes
The specified inboundID must exist and be accessible to the current user
The sku should correspond to an expected inventory item
The quantity must be a positive integer
Custom data can include tracking information like lot numbers, expiration dates, condition, etc.
Associated workflows may be automatically triggered based on system configuration (e.g., quality checks, inventory updates)
The operation may fail if the receiving inbound order is already in a non-editable state
Consider including relevant receiving information in the data field for tracking and compliance
This mutation is typically used in receiving workflows when items arrive in shipments