Skip to main content
inputCreateShippingRunCommandRequestInput

Fields

shippingRunId
UUID!
required

The ID of the new shipping run, generated by the client (UUID, version 7 recommended). Sending the same ID again with the same request returns the existing run and starts nothing; with a different request it is refused.

salesOrderIds
[ID]!
required

The sales orders to deliver, at least 1 and at most 2000, each at most once. The order of the list is the order of processing.

allowPartialDelivery
Boolean

Whether what is in stock is delivered for orders that cannot be delivered completely. Defaults to false: such orders are skipped.

warehouseIds
[ID]

The warehouses to take the stock from, in this order. Defaults to all warehouses that deliver, by their delivery priority.

createShippingLabels
Boolean

Whether a label is requested for every new package whose shipping method is mapped to a shipping service; a created label also marks the package as shipped. Defaults to false.

markAsShipped
Boolean

Whether the new packages of own warehouses are marked as shipped at the end of the run. Defaults to false.

disableAutomaticWorkflows
Boolean

Suppresses the automatic workflow triggers of this call. Defaults to false when omitted.

idempotencyKey
String

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.