Create Receiving Inbound Item
createReceivingInboundItem Mutation
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
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:
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
inboundIDmust exist and be accessible to the current userThe
skushould correspond to an expected inventory itemThe
quantitymust be a positive integerCustom
datacan 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
datafield for tracking and complianceThis mutation is typically used in receiving workflows when items arrive in shipments
Last updated
Was this helpful?
