eBay · Schema

Shipment

This complex type defines a shipment for a specific package (for example, a box or letter). Shipments are always linked to a purchased shipping label.

AuctionsCommerceProductMarketplaceFortune 500

Properties

Name Type Description
cancellation object Cancellation status for the package, if one exists.
creationDate string The date and time the shipment was created, formatted as an ISO 8601 string, which is
labelCustomMessage string If supported by the selected shipping carrier, this field can contain optional seller text to be printed on the shipping label.
labelDownloadUrl string The direct URL the seller can use to download an image of the shipping label. By default, the file format is PDF. See do
labelSize string The seller's desired label size. The support for multi-sized labels is shipping-carrier specific and if the size requested in the creaateFromShippingQuote call matches a size the carrier suppor
orders array A list of one or more orders that will be shipped in the shipping package.
packageSpecification object The weight and dimensions of the package.
rate object The shipping rate that the seller has chosen to purchase for this shipment. Each rate, identified by a rateId, contains the offered base service, options, and shipping parameters that were sele
returnTo object The address and contact details that should be used for item returns. Sellers have the option to define a return address that is different from their shipFrom address. If not specified, the ret
shipFrom object The address and contact details for the origin of the package shipment.
shipmentId string The unique eBay-assigned ID for the shipment. The ID is generated when the shipment is created by a call to createFromShippingQuote.
shipmentTrackingNumber string A unique carrier-assigned ID string that can be used to track the shipment.
shipTo object The address and contact details for the destination of the shipment.
View JSON Schema on GitHub

JSON Schema

ebay-shipment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Shipment",
  "title": "Shipment",
  "type": "object",
  "properties": {
    "cancellation": {
      "description": "Cancellation status for the package, if one exists.",
      "$ref": "#/components/schemas/ShipmentCancellation"
    },
    "creationDate": {
      "type": "string",
      "description": "The date and time the shipment was created, formatted as an <a href=\"https://www.iso.org/iso-8601-date-and-time-format.html \" title=\"https://www.iso.org \" target=\"_blank\">ISO 8601</a> string, which is based on the 24-hour Coordinated Universal Time (UTC) clock.  <br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2018-08-20T07:09:00.000Z</code>"
    },
    "labelCustomMessage": {
      "type": "string",
      "description": "If supported by the selected shipping carrier, this field can contain optional seller text to be printed on the shipping label."
    },
    "labelDownloadUrl": {
      "type": "string",
      "description": "The direct URL the seller can use to download an image of the shipping label. By default, the file format is PDF. See <a href=\"/api-docs/sell/logistics/resources/shipment/methods/downloadLabelFile\">downloadLabelFile</a> for requesting different response file formats."
    },
    "labelSize": {
      "type": "string",
      "description": "The seller's desired label size. The support for multi-sized labels is shipping-carrier specific and if the size requested in the <b>creaateFromShippingQuote</b> call matches a size the carrier supports, the value will be represented here in the shipment. <br><br>Currently, the only valid value is: <code>4\"x6\"</code>"
    },
    "orders": {
      "type": "array",
      "description": "A list of one or more orders that will be shipped in the shipping package.",
      "items": {
        "$ref": "#/components/schemas/Order"
      }
    },
    "packageSpecification": {
      "description": "The weight and dimensions of the package.",
      "$ref": "#/components/schemas/PackageSpecification"
    },
    "rate": {
      "description": "The shipping rate that the seller has chosen to purchase for this shipment. Each rate, identified by a <b>rateId</b>, contains the offered base service, options, and shipping parameters that were selected for the package shipment.",
      "$ref": "#/components/schemas/PurchasedRate"
    },
    "returnTo": {
      "description": "The address and contact details that should be used for item returns. Sellers have the option to define a return address that is different from their <b>shipFrom</b> address. If not specified, the return address defaults to the <b>shipFrom</b> address in the shipping quote.",
      "$ref": "#/components/schemas/Contact"
    },
    "shipFrom": {
      "description": "The address and contact details for the origin of the package shipment.",
      "$ref": "#/components/schemas/Contact"
    },
    "shipmentId": {
      "type": "string",
      "description": "The unique eBay-assigned ID for the shipment. The ID is generated when the shipment is created by a call to <b>createFromShippingQuote</b>."
    },
    "shipmentTrackingNumber": {
      "type": "string",
      "description": "A unique carrier-assigned ID string that can be used to track the shipment."
    },
    "shipTo": {
      "description": "The address and contact details for the destination of the shipment.",
      "$ref": "#/components/schemas/Contact"
    }
  },
  "description": "This complex type defines a shipment for a specific package (for example, a box or letter). Shipments are always linked to a purchased shipping label. "
}

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/ebay-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.