UPS · Schema
UPS Shipment
A UPS shipment created through the UPS Shipping API
LogisticsShippingFortune 500Supply Chain
Properties
| Name | Type | Description |
|---|---|---|
| trackingNumber | string | UPS tracking number (e.g. 1Z999AA10123456784) |
| serviceCode | string | UPS service code (01=Next Day Air, 02=2nd Day Air, 03=Ground, etc.) |
| shipper | object | Shipper information |
| shipTo | object | Recipient information |
| package | object | Package dimensions and weight |
| label | object | Generated shipping label |
| charges | object |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/ups/main/json-schema/ups-shipment-schema.json",
"title": "UPS Shipment",
"description": "A UPS shipment created through the UPS Shipping API",
"type": "object",
"properties": {
"trackingNumber": {
"type": "string",
"description": "UPS tracking number (e.g. 1Z999AA10123456784)",
"pattern": "^1Z[A-Z0-9]{16}$"
},
"serviceCode": {
"type": "string",
"description": "UPS service code (01=Next Day Air, 02=2nd Day Air, 03=Ground, etc.)"
},
"shipper": {
"type": "object",
"description": "Shipper information",
"properties": {
"name": { "type": "string" },
"accountNumber": { "type": "string", "description": "UPS account number" },
"address": { "$ref": "#/definitions/Address" }
}
},
"shipTo": {
"type": "object",
"description": "Recipient information",
"properties": {
"name": { "type": "string" },
"attentionName": { "type": "string" },
"phone": { "type": "string" },
"address": { "$ref": "#/definitions/Address" }
}
},
"package": {
"type": "object",
"description": "Package dimensions and weight",
"properties": {
"weightLbs": { "type": "number" },
"lengthIn": { "type": "number" },
"widthIn": { "type": "number" },
"heightIn": { "type": "number" }
}
},
"label": {
"type": "object",
"description": "Generated shipping label",
"properties": {
"format": { "type": "string", "enum": ["GIF", "EPL", "ZPL", "PNG"] },
"imageBase64": { "type": "string", "description": "Base64-encoded label image" }
}
},
"charges": {
"type": "object",
"properties": {
"currencyCode": { "type": "string", "example": "USD" },
"totalAmount": { "type": "number" }
}
}
},
"definitions": {
"Address": {
"type": "object",
"properties": {
"addressLine1": { "type": "string" },
"city": { "type": "string" },
"stateProvinceCode": { "type": "string" },
"postalCode": { "type": "string" },
"countryCode": { "type": "string", "example": "US" },
"residential": { "type": "boolean" }
}
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ups-shipment"
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.