Update Picking Order
updatePickingOrder Mutation
Updates an existing picking order with new data. This allows modification of picking order details and management of associated order items.
Arguments
id
ID!
Required ID of the picking order to update
input
UpdatePickingOrderInput!
Input data for updating the picking order
Return Type
PickingOrderOutput - Contains the updated picking order and any associated workflows.
Input Fields
UpdatePickingOrderInput:
dataTypeID
UUID
Optional data type ID for custom validation
clearDataTypeID
Boolean
Clear the current data type ID
dataTypeSlug
String
Optional data type slug for custom validation
clearDataTypeSlug
Boolean
Clear the current data type slug
data
Map
Custom data associated with the picking order
clearData
Boolean
Clear all custom data
customerID
UUID
ID of the customer this order is for
addOrderItemIDs
[ID!]
List of order item IDs to associate with this order
removeOrderItemIDs
[ID!]
List of order item IDs to remove from this order
clearOrderItems
Boolean
Remove all order items from this order
Usage Example
JavaScript Example
Managing Order Items
You can also use this mutation to manage the relationships between the picking order and its items:
Notes
The picking order must exist and be accessible to the current user
Updates may trigger associated workflows depending on system configuration
Use clear flags (e.g.,
clearData,clearOrderItems) to explicitly remove dataOrder item management operations (add/remove) are performed atomically
Some fields may not be editable if the picking order is in certain workflow states
The
customerIDcan be changed but must reference a valid, accessible customer
Last updated
Was this helpful?
