eBay · Schema

GetInventoryItemResponse

This type is used by the response of the bulkGetInventoryItem method to give the status of each inventory item record that the user tried to retrieve.

AuctionsCommerceProductsMarketplaceFortune 500

Properties

Name Type Description
errors array This container will be returned if there were one or more errors associated with retrieving the inventory item record.
inventoryItem object This container consists of detailed information on the inventory item specified in the sku field.
sku string The seller-defined Stock-Keeping Unit (SKU) of the inventory item. The seller should have a unique SKU value for every product that they sell.
statusCode integer The HTTP status code returned in this field indicates the success or failure of retrieving the inventory item record for the inventory item specified in the sku field. See the
warnings array This container will be returned if there were one or more warnings associated with retrieving the inventory item record.
View JSON Schema on GitHub

JSON Schema

ebay-getinventoryitemresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GetInventoryItemResponse",
  "title": "GetInventoryItemResponse",
  "type": "object",
  "properties": {
    "errors": {
      "type": "array",
      "description": "This container will be returned if there were one or more errors associated with retrieving the inventory item record.",
      "items": {
        "$ref": "#/components/schemas/Error"
      }
    },
    "inventoryItem": {
      "description": "This container consists of detailed information on the inventory item specified in the <strong>sku</strong> field.",
      "$ref": "#/components/schemas/InventoryItemWithSkuLocaleGroupKeys"
    },
    "sku": {
      "type": "string",
      "description": "The seller-defined Stock-Keeping Unit (SKU) of the inventory item. The seller should have a unique SKU value for every product that they sell."
    },
    "statusCode": {
      "type": "integer",
      "description": "The HTTP status code returned in this field indicates the success or failure of retrieving the inventory item record for the inventory item specified in the <strong>sku</strong> field. See the <strong>HTTP status codes</strong> table to see which each status code indicates.",
      "format": "int32"
    },
    "warnings": {
      "type": "array",
      "description": "This container will be returned if there were one or more warnings associated with retrieving the inventory item record.",
      "items": {
        "$ref": "#/components/schemas/Error"
      }
    }
  },
  "description": "This type is used by the response of the <strong>bulkGetInventoryItem</strong> method to give the status of each inventory item record that the user tried to retrieve."
}