Admin API / Types

VoidShipmentLabelPayload

Union

The result of voidShipmentLabel. ShipmentNotFoundError: the caller reads no shipment with the ID. UnauthorizedError: the caller is below SELLER 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). LabelNotVoidableError and IdempotencyConflictError: nothing changed. LabelVoidFailedError: see labelVoided.

union VoidShipmentLabelPayload = IdempotencyConflictError | LabelNotVoidableError | LabelVoidFailedError | ShipmentNotFoundError | UnauthorizedError | VoidShipmentLabelSuccess

Members

Returned by