Delete Receiving Inbound Item

deleteReceivingInboundItem Mutation

Deletes a ReceivingInboundItem object from the system.

Arguments

Name
Type
Description

id

ID!

The unique identifier of the receiving inbound item to delete

Return Type

ReceivingInboundItemDeletePayload! - Contains information about the deleted receiving inbound item and any triggered workflows.

Return Fields

ReceivingInboundItemDeletePayload:

Field
Type
Description

deletedID

ID

The ID of the deleted receiving inbound item

workflows

[TemporalWorkflow]

Workflow instances that were triggered by the deletion

Usage Example

mutation {
  deleteReceivingInboundItem(id: "inbound_item_456") {
    deletedID
    workflows {
      id
      runID
      status
      type
      startedAt
      completedAt
      result
      failure
    }
  }
}

JavaScript Example

Important Notes

  • Deleting a receiving inbound item removes it from the associated receiving inbound

  • This operation may trigger workflows to adjust inventory expectations

  • The deletion is permanent and cannot be undone

  • Ensure proper authorization before performing this operation

  • If this is the last item in a receiving inbound, consider whether the inbound itself should be deleted

  • Related stock calculations may need to be updated after the deletion

Last updated

Was this helpful?