Ship orders
Use order shipment operations when a merchant integration needs to trigger shipment for all currently shippable quantities of an order.
Available operations
- Read orders represented in Pickware ERP with orders.
- Read order line items with orderLineItems.
- Ship an order completely with shipOrderCompletely.
Example: ship an order
mutation ShipOrder($input: ShipOrderCompletelyInput!) {
shipOrderCompletely(input: $input) {
id
orderNumber
deliveryState
}
}
Pass warehouseId when shipment should use a specific warehouse. If it is omitted, Pickware uses the configured default warehouse.
Notes
The current mutation does not accept tracking codes. It can fail when the order is already fully shipped, the selected warehouse is not usable for shipment, or there is not enough stock.