{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/usps/json-schema/usps-cancel-response-schema.json",
  "title": "Cancel Label Response",
  "description": "Response information for a label cancellation request including the tracking number, status, and dispute ID if applicable.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/usps-international-labels-openapi.yml#/components/schemas/CancelResponse",
  "type": "object",
  "properties": {
    "trackingNumber": {
      "type": "string",
      "description": "The tracking number associated with the label that has been canceled or for which a refund request has been submitted."
    },
    "status": {
      "type": "string",
      "description": "* CANCELED indicates that the label has been successfully canceled. \n* DISPUTED indicates that a refund request has been submitted.\n",
      "enum": [
        "CANCELED",
        "DISPUTED"
      ]
    },
    "disputeId": {
      "type": "string",
      "description": "The Id of the submitted refund request."
    }
  }
}