Admin API / Types
QuoteShipmentLabelRatesPayload
UnionThe result of quoteShipmentLabelRates. ShipmentNotFoundError: the caller reads no shipment with the ID. ShipmentNotLabelableError: PARCEL_MISSING or ROUTE_UNAVAILABLE. UnauthorizedError: the caller is below the SELLER role with no open seller obligations (requiredRole: SELLER), or reads the shipment but its seller is not the caller or the owner of a store that the caller staffs (requiredRole null). ShippoAccountUnavailableError: the marketplace bills labels to its own Shippo account, and none is available or the shipment's seller is not an owner of the marketplace.
union QuoteShipmentLabelRatesPayload = QuoteShipmentLabelRatesSuccess | ShipmentNotFoundError | ShipmentNotLabelableError | ShippoAccountUnavailableError | UnauthorizedErrorMembers
QuoteShipmentLabelRatesSuccessShipmentNotFoundErrorShipmentNotLabelableErrorShippoAccountUnavailableErrorUnauthorizedError