Admin API / Types
StartShippingLabelBatchPayload
UnionThe result of startShippingLabelBatch. ShipmentNotFoundError: the caller reads no shipment with these IDs. ShipmentsNotLabelableError: these shipments have a label or are not NOT_STARTED. ShippingLabelBatchStateError: another batch of the caller is running. ShippoAccountUnavailableError: the marketplace bills labels to its own Shippo account, and none is available or the caller is not an owner of the marketplace. UnauthorizedError: a shipment has another seller, for example the owner of a store that the caller staffs; requiredRole is null. Every error member wrote nothing.
union StartShippingLabelBatchPayload = IdempotencyConflictError | ShipmentNotFoundError | ShipmentsNotLabelableError | ShippingLabelBatchStateError | ShippoAccountUnavailableError | StartShippingLabelBatchSuccess | UnauthorizedErrorMembers
IdempotencyConflictErrorShipmentNotFoundErrorShipmentsNotLabelableErrorShippingLabelBatchStateErrorShippoAccountUnavailableErrorStartShippingLabelBatchSuccessUnauthorizedError