FedEx · Schema

body_2

Address ValidationFreightLogisticsPickupRatingsShippingTrackingWebhookFortune 100
View JSON Schema on GitHub

JSON Schema

fedex-body-2-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fedex/json-schema/fedex-body-2-schema.json",
  "title": "body_2",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fedex-pickup-api-openapi.yml#/components/schemas/body_2",
  "oneOf": [
    {
      "$ref": "#/$defs/Full_Schema_Cancel_Pickup"
    },
    {
      "$ref": "#/$defs/Cancel_Pickup_Ground"
    },
    {
      "$ref": "#/$defs/Cancel_Pickup_Express"
    }
  ],
  "$defs": {
    "AccountNumber": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "description": "This is the account number. Maximum Length is 9. <br>Example: Your account number"
        }
      },
      "description": "This is the FedEx account number. <br>Example: Your account number"
    },
    "Cancel_Pickup_Express": {},
    "Cancel_Pickup_Ground": {},
    "Full_Schema_Cancel_Pickup": {
      "required": [
        "pickupConfirmationCode",
        "scheduledDate",
        "associatedAccountNumber"
      ],
      "type": "object",
      "properties": {
        "associatedAccountNumber": {
          "$ref": "#/$defs/AccountNumber"
        },
        "pickupConfirmationCode": {
          "type": "string",
          "description": "The confirmation number provided by FedEx to the customer when the pickup was scheduled or requested.<br> Example: 7"
        },
        "remarks": {
          "type": "string",
          "description": "Placeholder for any message to be passed to the FedEx pickup courier.<br>Note:Maximum length is 60 characters.<br> Example: Please ring bell at loading dock."
        },
        "carrierCode": {
          "type": "string",
          "description": "This is a placeholder to provide the FedEx operating company (transportation) code used for package delivery. Required for FedEx Ground.<br> Optional for FedEx Express.<br> The Default is FedEx Express i.e. FDXE.",
          "enum": [
            "FDXE",
            "FDXG"
          ]
        },
        "scheduledDate": {
          "type": "string",
          "description": "Indicates the date the pickup dispatch occurs.<br>Format YYYY-MM-DD <br> Example: 2019-10-15"
        },
        "location": {
          "type": "string",
          "description": "The FedEx Express location identifier responsible for processing the pickup request. This is returned in the CreatePickup response and is required to cancel a FedEx Express dispatch.Required only for FedEx Express Pickups. Optional for FedEx Ground. Example: LOSA"
        },
        "version": {
          "$ref": "#/$defs/Version"
        }
      },
      "description": "This is a placeholder for cancelled pickup request elements."
    },
    "Version": {
      "type": "object",
      "properties": {
        "major": {
          "description": "This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers",
          "type": "integer"
        },
        "minor": {
          "description": "This represents a backward-compatible minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers",
          "type": "integer"
        },
        "patch": {
          "description": "This represents a backward-compatible bug fix to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers",
          "type": "integer"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/fedex-body-2"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.