eBay · Schema

ReturnAddress

This type is used by the payment dispute methods, and is relevant if the buyer will be returning the item to the seller.

AuctionsCommerceProductMarketplaceFortune 500

Properties

Name Type Description
addressLine1 string The first line of the street address.
addressLine2 string The second line of the street address. This line is not always necessarily, but is often used for apartment number or suite number, or other relevant information that can not fit on the first line.
city string The city of the return address.
country string The country's two-digit, ISO 3166-1 country code. See the enumeration type for a country's value. For implementation help, refer to
stateOrProvince string The state or province of the return address.
View JSON Schema on GitHub

JSON Schema

ebay-returnaddress-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ReturnAddress",
  "title": "ReturnAddress",
  "type": "object",
  "properties": {
    "addressLine1": {
      "type": "string",
      "description": "The first line of the street address."
    },
    "addressLine2": {
      "type": "string",
      "description": "The second line of the street address. This line is not always necessarily, but is often used for apartment number or suite number, or other relevant information that can not fit on the first line."
    },
    "city": {
      "type": "string",
      "description": "The city of the return address."
    },
    "country": {
      "type": "string",
      "description": "The country's two-digit, ISO 3166-1 country code. See the enumeration type for a country's value. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CountryCodeEnum'>eBay API documentation</a>"
    },
    "county": {
      "type": "string",
      "description": "The county of the return address. Counties are not applicable to all countries."
    },
    "fullName": {
      "type": "string",
      "description": "The full name of return address owner."
    },
    "postalCode": {
      "type": "string",
      "description": "The postal code of the return address."
    },
    "primaryPhone": {
      "description": "This container shows the seller's primary phone number associated with the return address.",
      "$ref": "#/components/schemas/Phone"
    },
    "stateOrProvince": {
      "type": "string",
      "description": "The state or province of the return address."
    }
  },
  "description": "This type is used by the payment dispute methods, and is relevant if the buyer will be returning the item to the seller."
}

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-returnaddress"
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.