patchPickingOrderData
Apply RFC 6902 JSON Patch operations to the picking order’s data field.
Served by: picking
Arguments
Section titled “Arguments”| Name | Type |
|---|---|
id |
ID! |
patches |
[JSONPatchInput!]! |
Returns
Section titled “Returns”Example
Section titled “Example”Applies RFC 6902 JSON Patch operations to the picking order’s data field. Only changed fields are modified; untouched fields are preserved. See https://datatracker.ietf.org/doc/html/rfc6902 for the specification.
mutation PatchPickingOrderData($id: ID!, $patches: [JSONPatchInput!]!) { patchPickingOrderData(id: $id, patches: $patches) { eventCount pickingOrder { createdAt createdBy customerID data dataTypeID dataTypeSlug deletedAt deletedBy id tenantID updatedAt updatedBy } transactionID }}Variables
{ "id": "<picking order id to patch>", "patches": [ { "op": "REPLACE", "path": "/zone", "value": "\"Zone-C\"" }, { "op": "REPLACE", "path": "/priority", "value": "5" } ]}