UPS · JSON Structure

Ups Shipment Structure

Field-level documentation for the UPS Shipment resource

Type: object Properties: 0
LogisticsShippingFortune 500Supply Chain

Ups Shipment Structure is a JSON Structure definition published by UPS.

Meta-schema:

JSON Structure

Raw ↑
{
  "title": "UPS Shipment Structure",
  "description": "Field-level documentation for the UPS Shipment resource",
  "type": "object",
  "fields": [
    { "name": "trackingNumber", "type": "string", "required": false, "description": "UPS tracking number (1Z...)" },
    { "name": "serviceCode", "type": "string", "required": false, "description": "UPS service code (01=Next Day Air, 02=2nd Day Air, 03=Ground)" },
    { "name": "shipper.name", "type": "string", "required": false, "description": "Shipper company name" },
    { "name": "shipper.accountNumber", "type": "string", "required": false, "description": "UPS account number" },
    { "name": "shipper.address", "type": "object (Address)", "required": false, "description": "Shipper address" },
    { "name": "shipTo.name", "type": "string", "required": false, "description": "Recipient name" },
    { "name": "shipTo.address", "type": "object (Address)", "required": false, "description": "Delivery address" },
    { "name": "package.weightLbs", "type": "number", "required": false, "description": "Package weight in pounds" },
    { "name": "package.lengthIn", "type": "number", "required": false, "description": "Package length in inches" },
    { "name": "package.widthIn", "type": "number", "required": false, "description": "Package width in inches" },
    { "name": "package.heightIn", "type": "number", "required": false, "description": "Package height in inches" },
    { "name": "label.format", "type": "string (enum)", "required": false, "description": "Label format: GIF | EPL | ZPL | PNG" },
    { "name": "label.imageBase64", "type": "string", "required": false, "description": "Base64-encoded label image" },
    { "name": "charges.currencyCode", "type": "string", "required": false, "description": "Currency code (e.g. USD)" },
    { "name": "charges.totalAmount", "type": "number", "required": false, "description": "Total shipping charge" }
  ],
  "nested": {
    "Address": {
      "fields": [
        { "name": "addressLine1", "type": "string", "required": false, "description": "Street address" },
        { "name": "city", "type": "string", "required": false, "description": "City" },
        { "name": "stateProvinceCode", "type": "string", "required": false, "description": "2-letter state/province code" },
        { "name": "postalCode", "type": "string", "required": false, "description": "ZIP or postal code" },
        { "name": "countryCode", "type": "string", "required": false, "description": "2-letter ISO country code" },
        { "name": "residential", "type": "boolean", "required": false, "description": "Whether this is a residential address" }
      ]
    }
  }
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/ups-shipment-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

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

Get an API key

Free tier, no email required.

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