AfterShip · Schema

PickupParcel

PickupParcel object: the description of pickup parcel information

ShippingTrackingE-CommercePost-PurchaseNotificationLogisticsReturnsWarrantyAddress ValidationFulfillmentCarrierWebhookMCPRetail

Properties

Name Type Description
weight object
quantity integer The quantity of the packages. Minimum: 1
service_type string Service Type. Required for `UPS` and `DHL Express`
dimension object
View JSON Schema on GitHub

JSON Schema

aftership-pickup-parcel-v3-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aftership/main/json-schema/aftership-pickup-parcel-v3-schema.json",
  "title": "PickupParcel",
  "description": "PickupParcel object: the description of pickup parcel information",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aftership-pickups-api-openapi.yml#/components/schemas/Pickup_parcel.v3",
  "x-stoplight": {
    "id": "rg6vxf4hy1fwr"
  },
  "type": "object",
  "x-tags": [
    "Primitive"
  ],
  "required": [
    "weight",
    "quantity"
  ],
  "properties": {
    "weight": {
      "$ref": "#/$defs/Weight.v3",
      "x-stoplight": {
        "id": "n58yvlrsix94t"
      }
    },
    "quantity": {
      "type": "integer",
      "x-stoplight": {
        "id": "cvh46u2j0b88f"
      },
      "description": "The quantity of the packages. Minimum: 1"
    },
    "service_type": {
      "type": "string",
      "x-stoplight": {
        "id": "44aaqvxjye7j3"
      },
      "description": "Service Type. Required for `UPS` and `DHL Express`"
    },
    "dimension": {
      "$ref": "#/$defs/Dimension.v3",
      "x-stoplight": {
        "id": "vf9xym5596paa"
      }
    }
  },
  "$defs": {
    "Dimension.v3": {
      "title": "Dimension",
      "x-stoplight": {
        "id": "k8cgrqqlq38rn"
      },
      "type": "object",
      "description": "Dimension object: the description of width/height/depth information",
      "x-tags": [
        "Primitive"
      ],
      "properties": {
        "width": {
          "type": "number",
          "description": "width"
        },
        "height": {
          "type": "number",
          "description": "height"
        },
        "depth": {
          "type": "number",
          "description": "depth"
        },
        "unit": {
          "type": "string",
          "description": "unit",
          "enum": [
            "cm",
            "in",
            "mm",
            "m",
            "ft",
            "yd"
          ]
        }
      },
      "required": [
        "width",
        "height",
        "depth",
        "unit"
      ]
    },
    "Weight.v3": {
      "title": "Weight",
      "x-stoplight": {
        "id": "sqe056qqggctt"
      },
      "type": "object",
      "description": "Weight object: unit weight of the item",
      "x-tags": [
        "Primitive"
      ],
      "properties": {
        "unit": {
          "type": "string",
          "description": "weight unit",
          "enum": [
            "lb",
            "kg",
            "oz",
            "g"
          ]
        },
        "value": {
          "type": "number",
          "description": "value of Weight"
        }
      },
      "required": [
        "unit",
        "value"
      ]
    }
  }
}

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/aftership-pickup-parcel-v3"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.