# patchPickingOutboundShipmentNotificationData

Audience: Developer

Apply RFC 6902 JSON Patch operations to the picking outbound shipment notification's data field.

Apply RFC 6902 JSON Patch operations to the picking outbound shipment notification's data field.

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

## Arguments

| Name | Type |
| --- | --- |
| `id` | ID! |
| `patches` | \[[JSONPatchInput](https://docs.pyck.cloud/dev/api/inputs/jsonpatchinput.md)!\]! |

## Returns

[PickingOutboundShipmentNotificationOutput](https://docs.pyck.cloud/dev/api/types/pickingoutboundshipmentnotificationoutput.md)

## Example

Applies RFC 6902 JSON Patch operations to the picking outbound shipment notification's data field. Only changed fields are modified; untouched fields are preserved. See https://datatracker.ietf.org/doc/html/rfc6902 for the specification.

```graphql
mutation PatchPickingOutboundShipmentNotificationData($id: ID!, $patches: [JSONPatchInput!]!) {
  patchPickingOutboundShipmentNotificationData(id: $id, patches: $patches) {
    eventCount
    pickingOutboundShipmentNotification {
      createdAt
      createdBy
      data
      dataTypeID
      dataTypeSlug
      deletedAt
      deletedBy
      id
      orderID
      tenantID
      updatedAt
      updatedBy
    }
    transactionID
  }
}
```

**Variables**

```json
{
  "id": "<picking outbound shipment notification id to patch>",
  "patches": [
    {
      "op": "REPLACE",
      "path": "/meta/name",
      "value": "\"PatchedNotification\""
    },
    {
      "op": "REPLACE",
      "path": "/sum",
      "value": "42"
    }
  ]
}
```
