eBay · Schema

ListingStructurePolicy

AuctionsCommerceProductsMarketplaceFortune 500

Properties

Name Type Description
categoryId string The category ID to which the listing-structure policy applies.
categoryTreeId string A value that indicates the root node of the category tree used for the response set. Each marketplace is based on a category tree whose root node is indicated by this unique category ID value. All cat
variationsSupported boolean This flag denotes whether or not the associated category supports listings with item variations. If set to true, the category does support item variations.
View JSON Schema on GitHub

JSON Schema

ebay-listingstructurepolicy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ListingStructurePolicy",
  "title": "ListingStructurePolicy",
  "type": "object",
  "properties": {
    "categoryId": {
      "type": "string",
      "description": "The category ID to which the listing-structure policy applies."
    },
    "categoryTreeId": {
      "type": "string",
      "description": "A value that indicates the root node of the category tree used for the response set. Each marketplace is based on a category tree whose root node is indicated by this unique category ID value. All category policy information returned by this call pertains to the categories included below this root node of the tree.    <br><br>A <i>category tree</i> is a hierarchical framework of eBay categories that begins at the root node of the tree and extends to include all the child nodes in the tree. Each child node in the tree is an eBay category that is represented by a unique <b>categoryId</b> value. Within a category tree, the root node has no parent node and <i>leaf nodes</i> are nodes that have no child nodes."
    },
    "variationsSupported": {
      "type": "boolean",
      "description": "This flag denotes whether or not the associated category supports listings with item variations. If set to <code>true</code>, the category does support item variations."
    }
  }
}