Shop GPT

Shop GPT · GPT-Aktionen

eBay Partner Search API

API to search and retrieve item listings from eBay as a partner.

  • GET /item_summary/searchSearch for eBay listings
Ursprüngliches API-Schema
{
  "openapi": "3.0.0",
  "info": {
    "title": "eBay Partner Search API",
    "version": "1.0.0",
    "description": "API to search and retrieve item listings from eBay as a partner."
  },
  "servers": [
    {
      "url": "https://api.ebay.com/buy/browse/v1"
    }
  ],
  "paths": {
    "/item_summary/search": {
      "get": {
        "summary": "Search for eBay listings",
        "operationId": "searchItems",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "Query string to search for items",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The number of items to return per page of results",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "The number of items to skip for pagination",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "An array of items that match the query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "total": {
                      "type": "integer"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "itemId": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "price": {
                            "type": "object",
                            "properties": {
                              "value": {
                                "type": "string"
                              },
                              "currency": {
                                "type": "string"
                              }
                            }
                          },
                          "image": {
                            "type": "object",
                            "properties": {
                              "imageUrl": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request, often due to missing or incorrect query parameters"
          },
          "404": {
            "description": "No items found that match the query"
          }
        }
      }
    }
  }
}