Admin API / Types
BundleShipmentsPayload
UnionThe result of bundleShipments. Nothing changed unless the result is BundleShipmentsSuccess. ShipmentNotFoundError: the caller reads no shipment with one or more of the IDs, or a shipment has no order; shipmentIds lists them. UnauthorizedError: the caller is below the SELLER role, and requiredRole is SELLER; or the caller reads a shipment whose seller is not the caller and not the owner of a store that the caller staffs, and requiredRole is null. ShipmentsNotBundleableError: the shipments break a bundling rule. See reason.
union BundleShipmentsPayload = BundleShipmentsSuccess | ShipmentNotFoundError | ShipmentsNotBundleableError | UnauthorizedError