Admin API / Types
VoidShipmentLabelInput
InputThe label to void.
input VoidShipmentLabelInputInput fields
| Field | Type | Description |
|---|---|---|
expectedLabel | ExpectedShippingLabelInput | The label that the caller read. When the shipment has another label or no label at the void, the call returns LabelNotVoidableError with reason LABEL_CHANGED and changes nothing. Omitted or null: the void applies to the shipment's label at the call. |
idempotencyKey | String! | A client-generated key, 1 to 200 characters after trim. Send a new key for each void that you intend. A repeat with the same key and input within 24 hours returns the first result. |
shipmentId | ID! | The shipment whose label to void. Its seller must be the caller or the owner of a store that the caller staffs. |