patchPickingOrderItemData
Apply RFC 6902 JSON Patch operations to the picking order item’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 item’s data field. Only changed fields are modified; untouched fields are preserved.
mutation PatchPickingOrderItemData($id: ID!, $patches: [JSONPatchInput!]!) { patchPickingOrderItemData(id: $id, patches: $patches) { eventCount pickingOrderItem { createdAt createdBy data dataTypeID dataTypeSlug deletedAt deletedBy id orderID quantity sku tenantID updatedAt updatedBy } transactionID }}Variables
{ "id": "<picking order item id to patch>", "patches": [ { "op": "REPLACE", "path": "/picked", "value": "true" }, { "op": "REPLACE", "path": "/actual_qty", "value": "10" } ]}