Update Receiving Inbound

updateReceivingInbound Mutation

Updates an existing ReceivingInbound object in the system with new data.

Arguments

Name
Type
Description

id

ID!

The unique identifier of the receiving inbound to update

input

UpdateReceivingInboundInput!

Input data for updating the receiving inbound

Return Type

ReceivingInboundOutput - Contains the updated receiving inbound and any associated workflows.

Input Fields

UpdateReceivingInboundInput:

Field
Type
Description

dataTypeID

UUID

Optional data type ID to associate with the inbound

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 inbound

clearData

Boolean

Clear the existing custom data

orderID

String

Order or reference ID for the inbound shipment

clearOrderID

Boolean

Clear the existing order ID

supplierID

UUID

ID of the supplier this inbound is from

addInboundItemIDs

[ID!]

IDs of inbound items to add to this inbound

removeInboundItemIDs

[ID!]

IDs of inbound items to remove from this inbound

clearInboundItems

Boolean

Clear all associated inbound items

Return Fields

ReceivingInboundOutput:

Field
Type
Description

receivingInbound

ReceivingInbound

The updated receiving inbound

workflows

[TemporalWorkflow]

Related workflow instances that were triggered

Usage Example

JavaScript Example

Important Notes

  • Updating a receiving inbound may trigger related workflows for inventory management

  • Use the clear flags to explicitly remove optional fields

  • The data field supports flexible JSON structures for custom metadata

  • Changes to inbound item associations are applied incrementally using add/remove operations

  • The supplierID can be updated to transfer the inbound to a different supplier

Last updated

Was this helpful?