Update Receiving Inbound Item
updateReceivingInboundItem Mutation
Updates an existing ReceivingInboundItem object in the system with new data.
Arguments
id
ID!
The unique identifier of the receiving inbound item to update
input
UpdateReceivingInboundItemInput!
Input data for updating the receiving inbound item
Return Type
ReceivingInboundItemOutput - Contains the updated receiving inbound item and any associated workflows.
Input Fields
UpdateReceivingInboundItemInput:
dataTypeID
UUID
Optional data type ID to associate with the item
clearDataTypeID
Boolean
Clear the existing data type ID
dataTypeSlug
String
Optional data type slug
clearDataTypeSlug
Boolean
Clear the existing data type slug
data
Map
Custom data associated with the item
clearData
Boolean
Clear the existing custom data
sku
String
Stock keeping unit (SKU) - unique identifier for the item
quantity
Int
Quantity of the item expected to be received
inboundID
ID
ID of the receiving inbound this item belongs to
Return Fields
ReceivingInboundItemOutput:
receivingInboundItem
ReceivingInboundItem
The updated receiving inbound item
workflows
[TemporalWorkflow]
Related workflow instances that were triggered
Usage Example
JavaScript Example
Important Notes
Updating a receiving inbound item may trigger related workflows for inventory management
Use the clear flags to explicitly remove optional fields
The
datafield supports flexible JSON structures for item-specific metadataChanges to the
quantityfield may affect stock calculations and workflowsThe
skushould remain unique and consistent with the inventory systemMoving an item to a different inbound can be done by updating the
inboundID
Last updated
Was this helpful?
