Admin API / Types
VoidShipmentLabelPayload
UnionThe 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 | VoidShipmentLabelSuccessMembers
IdempotencyConflictErrorLabelNotVoidableErrorLabelVoidFailedErrorShipmentNotFoundErrorUnauthorizedErrorVoidShipmentLabelSuccess