Admin API / Types

ShipmentNotLabelableReason

Enum

Why a shipment does not allow a parcel change, a rate quote or a label. Additional values may be added.

enum ShipmentNotLabelableReason

Values

  • INELIGIBLE_STATUS: The status does not allow the operation. See currentStatus.
  • LABEL_EXISTS: The shipment has a label bought through District. Void the label first.
  • PARCEL_MISSING: The shipment has no parcel. Set one with updateShipmentParcels.
  • PURCHASE_UNCONFIRMED: An earlier label purchase on the marketplace's own Shippo account has an unknown outcome. Check that account for the label. A new label purchase checks that purchase again and returns its label, or continues as a new purchase after 1 hour with no label on Shippo. Reconnect the account when Shippo rejected its token.
  • ROUTE_UNAVAILABLE: Labels from the origin country to the destination country are not available.
  • TEST_ORDER: An order on the shipment was placed in test mode. No label can be bought for it. Nothing was charged.

Returned by