Admin API / Mutations

bundleShipments

Moves every order of 2 to 100 NOT_STARTED shipments of one seller to one address into one of them: the shipment with no bundling end, else the latest end, then the newest. Parcel, insurance, bundling window and shipping fees do not change. A shipment that holds only digital items cannot be bundled. The emptied shipments stop resolving, so a repeat gives ShipmentNotFoundError for them. All or nothing: a failed rule changes nothing.

Requires a client key with one of these scopes: admin:shipments:writeRequires this member role or higher: SELLER
bundleShipments(
  input: BundleShipmentsInput!
): BundleShipmentsPayload!

Arguments

ArgumentTypeDescription
inputBundleShipmentsInput!The shipments to put in one shipment.

Return type

BundleShipmentsPayload!