patchPickingOutboundShipmentNotificationData
Since pyck v0.27.0
Apply RFC 6902 JSON Patch operations to the picking outbound shipment notification’s data field.
Served by: picking
Arguments
Section titled “Arguments”| Name | Type | Default | Description |
|---|---|---|---|
id |
ID! | ||
patches |
[JSONPatchInput!]! |
Returns
Section titled “Returns”PickingOutboundShipmentNotificationOutput
Example
Section titled “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.
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
{ "id": "<picking outbound shipment notification id to patch>", "patches": [ { "op": "REPLACE", "path": "/meta/name", "value": "\"PatchedNotification\"" }, { "op": "REPLACE", "path": "/sum", "value": "42" } ]}