Admin API / Types

ConfirmShippingLabelBatchPayload

Union

The result of confirmShippingLabelBatch. ShipmentNotFoundError: a selection names a shipment outside the batch. ShippingLabelBatchStateError: the batch phase is not AWAITING_SELECTION, or another batch of the caller is running. ShippingRateUnavailableError: a selection names a rate that is not in the item's rates, or an item to buy was quoted 7 days ago or earlier. ShippoAccountUnavailableError: the marketplace bills labels to its own Shippo account, and none is available or the caller is not an owner of the marketplace. Every error member wrote nothing.

union ConfirmShippingLabelBatchPayload = ConfirmShippingLabelBatchSuccess | IdempotencyConflictError | PaymentMethodNotAcceptedError | PaymentMethodRequiredError | ShipmentNotFoundError | ShippingLabelBatchNotFoundError | ShippingLabelBatchStateError | ShippingRateUnavailableError | ShippoAccountUnavailableError | UnauthorizedError

Members

Returned by