Admin API / Mutations

voidShipmentLabel

Voids a shipping label that no carrier has scanned and pays its cost back to the wallet or card that paid. The shipment returns to NOT_STARTED and its READY_TO_SHIP orders to PAID, so a new label can be bought. Store staff can void a label of the store owner; the owner gets the money. A repeat with the same idempotencyKey and input returns the first result, or continues a void that stopped. The same key with another input returns IdempotencyConflictError.

Requires a client key with one of these scopes: admin:shipments:purchaseRequires this member role or higher: SELLER A member below this role, or an inactive member, who has outstanding seller obligations can also call it.
voidShipmentLabel(
  input: VoidShipmentLabelInput!
): VoidShipmentLabelPayload!

Arguments

ArgumentTypeDescription
inputVoidShipmentLabelInput!The label to void.

Return type

VoidShipmentLabelPayload!