StubHub Shipments API

The Shipments API from StubHub — 6 operation(s) for shipments.

GitHub OpenAPI
Business capability
Logistics Operations Management BC-520.50

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /sellerlistings/{listingId}/shipments/{shipmentId}/label Get a shipping label for a seller listing · Get a shipping label for a seller listing #
Ask an LLM
“How do I print the shipping label for a ticket seller listing?”
“Can I download the label for a seller listing shipment?”
Tell an agent
Get the shipping label for seller listing {listingId}, shipment {shipmentId}.
Print the label for shipment {shipmentId} of listing {listingId}.
GET /sellerlistings/{listingId}/shipments List shipments for a seller listing · List shipments for a seller listing #
Ask an LLM
“Which shipments are set up for a ticket seller listing?”
“What shipping options exist for a seller listing?”
Tell an agent
List shipments for seller listing {listingId}.
Show all shipping options on listing {listingId}.
PUT /sellerlistings/{listingId}/shipments Print a shipping label · Print a shipping label for a seller listing #
Ask an LLM
“How do I print a shipping label for an order?”
“Can I get the shipping label for a seller listing?”
Tell an agent
Print a shipping label for listing {listing_id}.
Get the shipping label for order {listing_id}.
PATCH /sellerlistings/{listingId}/shipments/{shipmentId} Update a shipment for a seller listing · Update a shipment for a seller listing #
Ask an LLM
“How do I change the shipping address on a seller listing shipment?”
“Can I update a shipment on a ticket seller listing?”
Tell an agent
Update shipment {shipmentId} on seller listing {listingId}.
Change the shipping address on listing {listingId} shipment {shipmentId}.
GET /sales/{saleId}/shipments/{shipmentId}/label Get a shipping label for a sale · Get shipping label for a sale #
Ask an LLM
“How do I get the shipping label for a ticket sale?”
“Can I download the label for a sale shipment?”
Tell an agent
Get the shipping label for sale {saleId}, shipment {shipmentId}.
Print the label for shipment {shipmentId} of sale {saleId}.
GET /sales/{saleId}/shipments List shipments for a sale · List shipments for a sale #
Ask an LLM
“Which shipments are set up for a ticket sale?”
“What shipping options exist for a sale?”
Tell an agent
List shipments for sale {saleId}.
Show all shipping options on sale {saleId}.
PUT /sales/{saleId}/shipments Print a shipping label for a sale · Print a shipping label for a sale #
Ask an LLM
“How do I print a shipping label for a ticket sale?”
“Can I generate a new label for a sale shipment?”
Tell an agent
Print a shipping label for sale {saleId}.
Generate a new label for sale {saleId}.
PATCH /sales/{saleId}/shipments/{shipmentId} Update a shipment for a sale · Update a shipment for a sale #
Ask an LLM
“How do I change the shipping address on a sale shipment?”
“Can I update a shipment on a ticket sale?”
Tell an agent
Update shipment {shipmentId} on sale {saleId}.
Change the shipping address on sale {saleId} shipment {shipmentId}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/stubhub:stubhub-shipments-api"
All apis
curl "https://apis.io/api/v1/apis?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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

stubhub-shipments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stubhub Shipments API
  version: v2
  contact:
    name: StubHub API Support
    email: api.support@stubhub.com
    url: https://developer.stubhub.com/
  x-media-type: application/hal+json
  description: 'Operations tagged Shipments across 2 of this provider''s published API definitions: stubhub-inventory-openapi.yml, stubhub-sales-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.stubhub.net
  description: Production
- url: https://sandbox.api.stubhub.net
  description: Sandbox
security:
- oauth2: []
tags:
- name: Shipments
paths:
  /sellerlistings/{listingId}/shipments/{shipmentId}/label:
    get:
      operationId: Shipments_GetListingShippingLabel
      summary: Get a shipping label for a seller listing
      tags:
      - Shipments
      responses:
        '200':
          description: Success. Response is `application/hal+json`.
          content:
            application/hal+json: {}
        '400':
          description: Bad Request. Error `code` may be https_required, user_agent_required, invalid_request_body, or validation_failed.
          content:
            application/hal+json: {}
        '401':
          description: Unauthorized. The request is not authenticated.
          content:
            application/hal+json: {}
        '403':
          description: Forbidden. Error `code` may be insufficient_scope, invalid_seller_listing_action, create_listing_not_allowed, or invalid_delete.
          content:
            application/hal+json: {}
        '500':
          description: Internal Server Error (`internal_server_error`).
          content:
            application/hal+json: {}
      parameters:
      - name: listingId
        in: path
        required: true
        schema:
          type: string
      - name: shipmentId
        in: path
        required: true
        schema:
          type: string
      security:
      - oauth2:
        - read:sellerlistings
    servers:
    - url: https://api.stubhub.net
      description: Production
    - url: https://sandbox.api.stubhub.net
      description: Sandbox
  /sellerlistings/{listingId}/shipments:
    get:
      operationId: Shipments_GetListingShipments
      summary: List shipments for a seller listing
      tags:
      - Shipments
      responses:
        '200':
          description: Success. Response is `application/hal+json`.
          content:
            application/hal+json: {}
        '400':
          description: Bad Request. Error `code` may be https_required, user_agent_required, invalid_request_body, or validation_failed.
          content:
            application/hal+json: {}
        '401':
          description: Unauthorized. The request is not authenticated.
          content:
            application/hal+json: {}
        '403':
          description: Forbidden. Error `code` may be insufficient_scope, invalid_seller_listing_action, create_listing_not_allowed, or invalid_delete.
          content:
            application/hal+json: {}
        '500':
          description: Internal Server Error (`internal_server_error`).
          content:
            application/hal+json: {}
      parameters:
      - name: listingId
        in: path
        required: true
        schema:
          type: string
      security:
      - oauth2:
        - read:sellerlistings
    put:
      operationId: Shipments_PutOrGetListingShipmentLabel
      summary: Print a shipping label for a seller listing
      tags:
      - Shipments
      responses:
        '200':
          description: Success. Response is `application/hal+json`.
          content:
            application/hal+json: {}
        '400':
          description: Bad Request. Error `code` may be https_required, user_agent_required, invalid_request_body, or validation_failed.
          content:
            application/hal+json: {}
        '401':
          description: Unauthorized. The request is not authenticated.
          content:
            application/hal+json: {}
        '403':
          description: Forbidden. Error `code` may be insufficient_scope, invalid_seller_listing_action, create_listing_not_allowed, or invalid_delete.
          content:
            application/hal+json: {}
        '500':
          description: Internal Server Error (`internal_server_error`).
          content:
            application/hal+json: {}
      parameters:
      - name: listingId
        in: path
        required: true
        schema:
          type: string
      security:
      - oauth2:
        - write:sellerlistings
    servers:
    - url: https://api.stubhub.net
      description: Production
    - url: https://sandbox.api.stubhub.net
      description: Sandbox
  /sellerlistings/{listingId}/shipments/{shipmentId}:
    patch:
      operationId: Shipments_PatchListingShipment
      summary: Update a shipment for a seller listing
      tags:
      - Shipments
      responses:
        '200':
          description: Success. Response is `application/hal+json`.
          content:
            application/hal+json: {}
        '400':
          description: Bad Request. Error `code` may be https_required, user_agent_required, invalid_request_body, or validation_failed.
          content:
            application/hal+json: {}
        '401':
          description: Unauthorized. The request is not authenticated.
          content:
            application/hal+json: {}
        '403':
          description: Forbidden. Error `code` may be insufficient_scope, invalid_seller_listing_action, create_listing_not_allowed, or invalid_delete.
          content:
            application/hal+json: {}
        '500':
          description: Internal Server Error (`internal_server_error`).
          content:
            application/hal+json: {}
      parameters:
      - name: listingId
        in: path
        required: true
        schema:
          type: string
      - name: shipmentId
        in: path
        required: true
        schema:
          type: string
      security:
      - oauth2:
        - write:sellerlistings
    servers:
    - url: https://api.stubhub.net
      description: Production
    - url: https://sandbox.api.stubhub.net
      description: Sandbox
  /sales/{saleId}/shipments/{shipmentId}/label:
    get:
      operationId: Shipments_GetSaleShippingLabel
      summary: Get shipping label for a sale
      tags:
      - Shipments
      responses:
        '200':
          description: Success. Response is `application/hal+json`.
          content:
            application/hal+json: {}
        '400':
          description: Bad Request. Error `code` may be https_required, user_agent_required, invalid_request_body, or validation_failed.
          content:
            application/hal+json: {}
        '401':
          description: Unauthorized. The request is not authenticated.
          content:
            application/hal+json: {}
        '403':
          description: Forbidden. Error `code` may be insufficient_scope, invalid_seller_listing_action, create_listing_not_allowed, or invalid_delete.
          content:
            application/hal+json: {}
        '500':
          description: Internal Server Error (`internal_server_error`).
          content:
            application/hal+json: {}
      parameters:
      - name: saleId
        in: path
        required: true
        schema:
          type: string
      - name: shipmentId
        in: path
        required: true
        schema:
          type: string
      security:
      - oauth2:
        - read:sales
    servers:
    - url: https://api.stubhub.net
      description: Production
    - url: https://sandbox.api.stubhub.net
      description: Sandbox
  /sales/{saleId}/shipments:
    get:
      operationId: Shipments_GetSaleShipments
      summary: List shipments for a sale
      tags:
      - Shipments
      responses:
        '200':
          description: Success. Response is `application/hal+json`.
          content:
            application/hal+json: {}
        '400':
          description: Bad Request. Error `code` may be https_required, user_agent_required, invalid_request_body, or validation_failed.
          content:
            application/hal+json: {}
        '401':
          description: Unauthorized. The request is not authenticated.
          content:
            application/hal+json: {}
        '403':
          description: Forbidden. Error `code` may be insufficient_scope, invalid_seller_listing_action, create_listing_not_allowed, or invalid_delete.
          content:
            application/hal+json: {}
        '500':
          description: Internal Server Error (`internal_server_error`).
          content:
            application/hal+json: {}
      parameters:
      - name: saleId
        in: path
        required: true
        schema:
          type: string
      security:
      - oauth2:
        - read:sales
    put:
      operationId: Shipments_PutOrGetSaleShipmentLabel
      summary: Print a shipping label for a sale
      tags:
      - Shipments
      responses:
        '200':
          description: Success. Response is `application/hal+json`.
          content:
            application/hal+json: {}
        '400':
          description: Bad Request. Error `code` may be https_required, user_agent_required, invalid_request_body, or validation_failed.
          content:
            application/hal+json: {}
        '401':
          description: Unauthorized. The request is not authenticated.
          content:
            application/hal+json: {}
        '403':
          description: Forbidden. Error `code` may be insufficient_scope, invalid_seller_listing_action, create_listing_not_allowed, or invalid_delete.
          content:
            application/hal+json: {}
        '500':
          description: Internal Server Error (`internal_server_error`).
          content:
            application/hal+json: {}
      parameters:
      - name: saleId
        in: path
        required: true
        schema:
          type: string
      security:
      - oauth2:
        - write:sales
    servers:
    - url: https://api.stubhub.net
      description: Production
    - url: https://sandbox.api.stubhub.net
      description: Sandbox
  /sales/{saleId}/shipments/{shipmentId}:
    patch:
      operationId: Shipments_PatchSaleShipment
      summary: Update a shipment for a sale
      tags:
      - Shipments
      responses:
        '200':
          description: Success. Response is `application/hal+json`.
          content:
            application/hal+json: {}
        '400':
          description: Bad Request. Error `code` may be https_required, user_agent_required, invalid_request_body, or validation_failed.
          content:
            application/hal+json: {}
        '401':
          description: Unauthorized. The request is not authenticated.
          content:
            application/hal+json: {}
        '403':
          description: Forbidden. Error `code` may be insufficient_scope, invalid_seller_listing_action, create_listing_not_allowed, or invalid_delete.
          content:
            application/hal+json: {}
        '500':
          description: Internal Server Error (`internal_server_error`).
          content:
            application/hal+json: {}
      parameters:
      - name: saleId
        in: path
        required: true
        schema:
          type: string
      - name: shipmentId
        in: path
        required: true
        schema:
          type: string
      security:
      - oauth2:
        - write:sales
    servers:
    - url: https://api.stubhub.net
      description: Production
    - url: https://sandbox.api.stubhub.net
      description: Sandbox
components:
  securitySchemes:
    oauth2:
      type: oauth2
      description: OAuth2. All API requests must be authenticated.
      flows:
        clientCredentials:
          tokenUrl: https://account.stubhub.com/oauth2/token
          scopes:
            read:events: Read-only access to events on the StubHub platform.
        authorizationCode:
          authorizationUrl: https://account.stubhub.com/authorize
          tokenUrl: https://account.stubhub.com/oauth2/token
          refreshUrl: https://account.stubhub.com/oauth2/token
          scopes:
            read:events: Read-only access to events on the StubHub platform.
            read:payment: Read-only access to the user's payments.
            read:sales: Read access to the user's sales.
            write:sales: Write access to the user's sales (confirm and fulfill sales).
            read:sellerlistings: Read access to the user's listings.
            write:sellerlistings: Write access to the user's listings (create and update listings).
            read:webhooks: Read access to the user's webhooks.
            write:webhooks: Write access to the user's webhooks.
            write:requestedevents: Write access to the user's requested events.
x-refined-from:
- stubhub-inventory-openapi.yml
- stubhub-sales-openapi.yml