# updateReceivingInbound

Audience: Programmer

**Served by:** [receiving](https://docs.pyck.cloud/latest/api/services/receiving.md)

## Arguments

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `id` | ID! |  |  |
| `input` | [UpdateReceivingInboundInput](https://docs.pyck.cloud/latest/api/inputs/updatereceivinginboundinput.md)! |  |  |

## Returns

[ReceivingInboundOutput](https://docs.pyck.cloud/latest/api/types/receivinginboundoutput.md)

## Example

Updates a receiving inbound's orderID and data fields.

```graphql
mutation UpdateReceivingInbound($id: ID!, $input: UpdateReceivingInboundInput!) {
  updateReceivingInbound(id: $id, input: $input) {
    eventCount
    receivingInbound {
      createdAt
      createdBy
      data
      dataTypeID
      dataTypeSlug
      deletedAt
      deletedBy
      id
      orderID
      supplierID
      tenantID
      updatedAt
      updatedBy
    }
    transactionID
  }
}
```

**Variables**

```json
{
  "id": "<inbound ID>",
  "input": {
    "data": {
      "warehouse": "WH-B"
    },
    "orderID": "PO-2026-002"
  }
}
```
