eBay · Schema

LineItemInput

A type that defines the fields for a line item.

AuctionsCommerceProductsMarketplaceFortune 500

Properties

Name Type Description
itemId string The unique eBay-assigned identifier of an item. This ID is returned by the Browse and Feed API methods. The ID must be in RESTful item ID format.

For example: v1|2***
quantity integer The quantity ordered in this line item.
View JSON Schema on GitHub

JSON Schema

ebay-lineiteminput-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LineItemInput",
  "title": "LineItemInput",
  "type": "object",
  "properties": {
    "itemId": {
      "type": "string",
      "description": "The unique eBay-assigned identifier of an item. This ID is returned by the <b>Browse</b> and <b>Feed</b> API methods. The ID must be in RESTful item ID format.<br><br><b>For example:</b> <code>v1|2**********6|5**********4</code> or <code>v1|1**********9|0</code>.<br><br>For more information about item IDs for RESTful APIs, see <a href=\"/api-docs/buy/static/api-browse.html#Legacy\">Legacy API compatibility</a>.<br><br>Each <b>itemId</b> will become a single line item.<br><br><b>Maximum:</b> 10 per session"
    },
    "quantity": {
      "type": "integer",
      "description": "The quantity ordered in this line item.",
      "format": "int32"
    }
  },
  "description": "A type that defines the fields for a line item."
}