openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 54.3 kB
JSON
{"openapi":"3.0.0","servers":[{"description":"Production","url":"https://api.ebay.com{basePath}","variables":{"basePath":{"default":"/sell/metadata/v1"}}}],"info":{"contact":{"name":"eBay Inc,","x-twitter":"ebay"},"description":"The Metadata API has operations that retrieve configuration details pertaining to the different eBay marketplaces. In addition to marketplace information, the API also has operations that get information that helps sellers list items on eBay.","license":{"name":"eBay API License Agreement","url":"https://go.developer.ebay.com/api-license-agreement"},"title":"Metadata API","version":"v1.6.0","x-apisguru-categories":["ecommerce"],"x-logo":{"backgroundColor":"#FFFFFF","url":"https://twitter.com/ebay/profile_image?size=original"},"x-origin":[{"format":"openapi","url":"https://developer.ebay.com/api-docs/master/sell/metadata/openapi/3/sell_metadata_v1_oas3.json","version":"3.0"}],"x-providerName":"ebay.com","x-serviceName":"sell-metadata"},"paths":{"/country/{countryCode}/sales_tax_jurisdiction":{"get":{"description":"This method retrieves all the sales tax jurisdictions for the country that you specify in the <b>countryCode</b> path parameter. Countries with valid sales tax jurisdictions are Canada and the US. <br/><br/>The response from this call tells you the jurisdictions for which a seller can configure tax tables. Although setting up tax tables is optional, you can use the <b>createOrReplaceSalesTax</b> in the <b>Account API</b> call to configure the tax tables for the jurisdictions you sell to.","operationId":"getSalesTaxJurisdictions","parameters":[{"description":"This path parameter specifies the two-letter <a href=\"https://www.iso.org/iso-3166-country-codes.html \" title=\"https://www.iso.org \" target=\"_blank\">ISO 3166</a> country code for the country whose jurisdictions you want to retrieve. eBay provides sales tax jurisdiction information for Canada and the United States.Valid values for this path parameter are <code>CA</code> and <code>US</code>.","in":"path","name":"countryCode","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalesTaxJurisdictions"}}},"description":"Success"},"400":{"description":"Bad Request","x-response-codes":{"errors":{"45400":{"category":"REQUEST","description":"Invalid input. {additionalInfo}","domain":"API_METADATA"},"45401":{"category":"REQUEST","description":"Invalid {fieldName}.","domain":"API_METADATA"},"45402":{"category":"REQUEST","description":"Tax table not supported for {fieldName}.","domain":"API_METADATA"}}}},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error","x-response-codes":{"errors":{"45500":{"category":"APPLICATION","description":"System error.","domain":"API_METADATA"}}}}},"security":[{"api_auth":["https://api.ebay.com/oauth/api_scope"]}],"tags":["country"]}},"/marketplace/{marketplace_id}/get_automotive_parts_compatibility_policies":{"get":{"description":"This method returns the eBay policies that define how to list automotive-parts-compatibility items in the categories of a specific marketplace. <br><br>By default, this method returns the entire category tree for the specified marketplace. You can limit the size of the result set by using the <b>filter</b> query parameter to specify only the category IDs you want to review.<br /><br /><span class=\"tablenote\"><span style=\"color:#478415\"><strong>Tip:</strong></span> This method can potentially return a very large response payload. eBay recommends that the response payload be compressed by passing in the <b>Accept-Encoding</b> request header and setting the value to <code>application/gzip</code>.</span>","operationId":"getAutomotivePartsCompatibilityPolicies","parameters":[{"description":"This query parameter limits the response by returning policy information for only the selected sections of the category tree. Supply <b>categoryId</b> values for the sections of the tree you want returned. <br><br>When you specify a <b>categoryId</b> value, the returned category tree includes the policies for that parent node, plus the policies for any leaf nodes below that parent node. <br><br>The parameter takes a list of <b>categoryId</b> values and you can specify up to 50 separate category IDs. Separate multiple values with a pipe character ('|'). If you specify more than 50 <code>categoryId</code> values, eBay returns the policies for the first 50 IDs and a warning that not all categories were returned. <br><br><b>Example:</b> <code>filter=categoryIds:{100|101|102}</code> <br><br>Note that you must URL-encode the parameter list, which results in the following filter for the above example: <br><br> <code>filter=categoryIds%3A%7B100%7C101%7C102%7D</code>","in":"query","name":"filter","required":false,"schema":{"type":"string"}},{"description":"This path parameter specifies the eBay marketplace for which policy information is retrieved. <br><br><b>Note:</b> Only the following eBay marketplaces support automotive parts compatibility: <ul> <li>EBAY_US</li> <li>EBAY_AU</li> <li>EBAY_CA</li> <li>EBAY_DE</li> <li>EBAY_ES</li> <li>EBAY_FR</li> <li>EBAY_GB</li> <li>EBAY_IT</li><ul>","in":"path","name":"marketplace_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutomotivePartsCompatibilityPolicyResponse"}}},"description":"Success","x-response-codes":{"errors":{"46002":{"category":"REQUEST","description":"The filter value is invalid. Sample supported values: filter=categoryIds:{catId1|catId2|catId3}.","domain":"API_METADATA"},"46003":{"category":"REQUEST","description":"The specified categoryId was not found for the marketplace.","domain":"API_METADATA"},"46004":{"category":"REQUEST","description":"Only 50 Category IDs specified in the filter are considered.","domain":"API_METADATA"}}}},"204":{"description":"No content"},"400":{"description":"Bad Request","x-response-codes":{"errors":{"46001":{"category":"REQUEST","description":"The specified marketplace ID was not found.","domain":"API_METADATA"}}}},"404":{"description":"Not found"},"500":{"description":"Internal Server Error","x-response-codes":{"errors":{"46000":{"category":"APPLICATION","description":"There was a problem with an eBay internal system or process.Contact eBay developer support for assistance.","domain":"API_METADATA"}}}}},"security":[{"api_auth":["https://api.ebay.com/oauth/api_scope"]}],"tags":["marketplace"]}},"/marketplace/{marketplace_id}/get_extended_producer_responsibility_policies":{"get":{"description":"This method returns the Extended Producer Responsibility policies for one, multiple, or all eBay categories in an eBay marketplace.<br /><br />The identifier of the eBay marketplace is passed in as a path parameter, and unless one or more eBay category IDs are passed in through the filter query parameter, this method will return metadata on every applicable category for the specified marketplace.<br /><br /><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note:</strong></span> Currently, the Extended Producer Responsibility policies are only applicable to a limited number of categories, and only in the EBAY_FR marketplace.</span><br /><br /><span class=\"tablenote\"><span style=\"color:#478415\"><strong>Tip:</strong></span> This method can potentially return a very large response payload. eBay recommends that the response payload be compressed by passing in the <b>Accept-Encoding</b> request header and setting the value to <code>application/gzip</code>.</span>","operationId":"getExtendedProducerResponsibilityPolicies","parameters":[{"description":"A query parameter that can be used to limit the response by returning policy information for only the selected sections of the category tree. Supply <b>categoryId</b> values for the sections of the tree that should be returned.<br /><br />When a <b>categoryId</b> value is specified, the returned category tree includes the policies for that parent node, as well as the policies for any child nodes below that parent node.<br /><br />Pass in the <b>categoryId</b> values using a URL-encoded, pipe-separated ('|') list. For example:<br /><br /><code>filter=categoryIds%3A%7B100%7C101%7C102%7D</code><br /><br /><b>Maximum:</b> 50","in":"query","name":"filter","required":false,"schema":{"type":"string"}},{"description":"A path parameter that specifies the eBay marketplace for which policy information shall be retrieved.<br /><br /><span class=\"tablenote\"><span style=\"color:#478415\"><strong>Tip:</strong></span> See <a href=\"/api-docs/static/rest-request-components.html#marketpl\" target=\"_blank\">Request components</a> for a list of valid eBay marketplace IDs.</span>","in":"path","name":"marketplace_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedProducerResponsibilityPolicyResponse"}}},"description":"Success","x-response-codes":{"errors":{"46002":{"category":"REQUEST","description":"The filter value is invalid. Sample supported values: filter=categoryIds:{catId1|catId2|catId3}.","domain":"API_METADATA"},"46003":{"category":"REQUEST","description":"The specified categoryId was not found for the marketplace.","domain":"API_METADATA"},"46004":{"category":"REQUEST","description":"Only 50 Category IDs specified in the filter are considered.","domain":"API_METADATA"}}}},"204":{"description":"No content"},"400":{"description":"Bad Request","x-response-codes":{"errors":{"46001":{"category":"REQUEST","description":"The specified marketplace ID was not found.","domain":"API_METADATA"}}}},"404":{"description":"Not found"},"500":{"description":"Internal Server Error","x-response-codes":{"errors":{"46000":{"category":"APPLICATION","description":"There was a problem with an eBay internal system or process.Contact eBay developer support for assistance.","domain":"API_METADATA"}}}}},"security":[{"api_auth":["https://api.ebay.com/oauth/api_scope"]}],"tags":["marketplace"]}},"/marketplace/{marketplace_id}/get_hazardous_materials_labels":{"get":{"description":"This method returns hazardous materials label information for the specified eBay marketplace. The information includes IDs, descriptions, and URLs (as applicable) for the available signal words, statements, and pictograms. The returned statements are localized for the default langauge of the marketplace. If a marketplace does not support hazardous materials label information, an error is returned.<p>This information is used by the seller to add hazardous materials label related information to their listings (see <a href='/api-docs/sell/static/metadata/feature-regulatorhazmatcontainer.html'>Specifying hazardous material related information</a>).</p>","operationId":"getHazardousMaterialsLabels","parameters":[{"description":"A path parameter that specifies the eBay marketplace for which hazardous materials label information shall be retrieved.<p><span class=\"tablenote\"><strong>Tip:</strong> See <a href=\"/api-docs/static/rest-request-components.html#marketpl\" >Request components</a> for a list of valid eBay marketplace IDs.</span></p>","in":"path","name":"marketplace_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HazardousMaterialDetailsResponse"}}},"description":"Success"},"400":{"description":"Bad Request","x-response-codes":{"errors":{"46001":{"category":"REQUEST","description":"The specified marketplace ID was not found.","domain":"API_METADATA"}}}},"404":{"description":"Not found"},"500":{"description":"Internal Server Error","x-response-codes":{"errors":{"46000":{"category":"APPLICATION","description":"There was a problem with an eBay internal system or process.Contact eBay developer support for assistance.","domain":"API_METADATA"}}}}},"security":[{"api_auth":["https://api.ebay.com/oauth/api_scope"]}],"tags":["marketplace"]}},"/marketplace/{marketplace_id}/get_item_condition_policies":{"get":{"description":"This method returns item condition metadata on one, multiple, or all eBay categories on an eBay marketplace. This metadata consists of the different item conditions (with IDs) that an eBay category supports, and a boolean to indicate if an eBay category requires an item condition. <br><br>The identifier of the eBay marketplace is passed in as a path parameter, and unless one or more eBay category IDs are passed in through the <b>filter</b> query parameter, this method will return metadata on every single category for the specified marketplace. If you only want to view item condition metadata for one eBay category or a select group of eBay categories, you can pass in up to 50 eBay category ID through the <b>filter</b> query parameter.<br /><br /><span class=\"tablenote\"><span style=\"color:#FF0000\"><strong>Important:</strong></span> <b>Certified - Refurbished</b>-eligible sellers, and sellers who are eligible to list with the new values (EXCELLENT_REFURBISHED, VERY_GOOD_REFURBISHED, and GOOD_REFURBISHED) must use an OAuth token created with the <a href=\"/api-docs/static/oauth-authorization-code-grant.html\" target=\"_blank\">authorization code grant flow</a> and <b>https://api.ebay.com/oauth/api_scope/sell.inventory</b> scope in order to retrieve the refurbished conditions for the relevant categories.<br/><br/>See the <a href=\"/api-docs/sell/static/metadata/condition-id-values.html#Category \" target=\"_blank\">eBay Refurbished Program - Category and marketplace support</a> topic for the categories and marketplaces that support these refurbished conditions<br/><br/>These restricted item conditions will not be returned if an OAuth token created with the <a href=\"/api-docs/static/oauth-client-credentials-grant.html\" target=\"_blank\">client credentials grant flow</a> and <b>https://api.ebay.com/oauth/api_scope</b> scope is used, or if any seller is not eligible to list with that item condition. <br/><br/> See the <a href=\"/api-docs/static/oauth-scopes.html\" target=\"_blank\">Specifying OAuth scopes</a> topic for more information about specifying scopes.</span><br /><br /><span class=\"tablenote\"><span style=\"color:#478415\"><strong>Tip:</strong></span> This method can potentially return a very large response payload. eBay recommends that the response payload be compressed by passing in the <b>Accept-Encoding</b> request header and setting the value to <code>application/gzip</code>.</span>","operationId":"getItemConditionPolicies","parameters":[{"description":"This query parameter limits the response by returning policy information for only the selected sections of the category tree. Supply <b>categoryId</b> values for the sections of the tree you want returned. <br><br>When you specify a <b>categoryId</b> value, the returned category tree includes the policies for that parent node, plus the policies for any leaf nodes below that parent node. <br><br>The parameter takes a list of <b>categoryId</b> values and you can specify up to 50 separate category IDs. Separate multiple values with a pipe character ('|'). If you specify more than 50 <code>categoryId</code> values, eBay returns the policies for the first 50 IDs and a warning that not all categories were returned. <br><br><b>Example:</b> <code>filter=categoryIds:{100|101|102}</code> <br><br>Note that you must URL-encode the parameter list, which results in the following filter for the above example: <br><br> <code>filter=categoryIds%3A%7B100%7C101%7C102%7D</code>","in":"query","name":"filter","required":false,"schema":{"type":"string"}},{"description":"This path parameter specifies the eBay marketplace for which policy information is retrieved. See the following page for a list of valid eBay marketplace IDs: <a href=\"/api-docs/static/rest-request-components.html#marketpl\" target=\"_blank\">Request components</a>.","in":"path","name":"marketplace_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemConditionPolicyResponse"}}},"description":"Success","x-response-codes":{"errors":{"46002":{"category":"REQUEST","description":"The filter value is invalid. Sample supported values: filter=categoryIds:{catId1|catId2|catId3}.","domain":"API_METADATA"},"46003":{"category":"REQUEST","description":"The specified categoryId was not found for the marketplace.","domain":"API_METADATA"},"46004":{"category":"REQUEST","description":"Only 50 Category IDs specified in the filter are considered.","domain":"API_METADATA"}}}},"204":{"description":"No content"},"400":{"description":"Bad Request","x-response-codes":{"errors":{"46001":{"category":"REQUEST","description":"The specified marketplace ID was not found.","domain":"API_METADATA"}}}},"404":{"description":"Not found"},"500":{"description":"Internal Server Error","x-response-codes":{"errors":{"46000":{"category":"APPLICATION","description":"There was a problem with an eBay internal system or process.Contact eBay developer support for assistance.","domain":"API_METADATA"}}}}},"security":[{"api_auth":["https://api.ebay.com/oauth/api_scope","https://api.ebay.com/oauth/api_scope/sell.inventory"]}],"tags":["marketplace"]}},"/marketplace/{marketplace_id}/get_listing_structure_policies":{"get":{"description":"This method returns the eBay policies that define the allowed listing structures for the categories of a specific marketplace. The listing-structure policies currently pertain to whether or not you can list items with variations. <br><br>By default, this method returns the entire category tree for the specified marketplace. You can limit the size of the result set by using the <b>filter</b> query parameter to specify only the category IDs you want to review.<br /><br /><span class=\"tablenote\"><span style=\"color:#478415\"><strong>Tip:</strong></span> This method can potentially return a very large response payload. eBay recommends that the response payload be compressed by passing in the <b>Accept-Encoding</b> request header and setting the value to <code>application/gzip</code>.</span>","operationId":"getListingStructurePolicies","parameters":[{"description":"This query parameter limits the response by returning policy information for only the selected sections of the category tree. Supply <b>categoryId</b> values for the sections of the tree you want returned. <br><br>When you specify a <b>categoryId</b> value, the returned category tree includes the policies for that parent node, plus the policies for any leaf nodes below that parent node. <br><br>The parameter takes a list of <b>categoryId</b> values and you can specify up to 50 separate category IDs. Separate multiple values with a pipe character ('|'). If you specify more than 50 <code>categoryId</code> values, eBay returns the policies for the first 50 IDs and a warning that not all categories were returned. <br><br><b>Example:</b> <code>filter=categoryIds:{100|101|102}</code> <br><br>Note that you must URL-encode the parameter list, which results in the following filter for the above example: <br><br> <code>filter=categoryIds%3A%7B100%7C101%7C102%7D</code>","in":"query","name":"filter","required":false,"schema":{"type":"string"}},{"description":"This path parameter specifies the eBay marketplace for which policy information is retrieved. See the following page for a list of valid eBay marketplace IDs: <a href=\"/api-docs/static/rest-request-components.html#marketpl\" target=\"_blank\">Request components</a>.","in":"path","name":"marketplace_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingStructurePolicyResponse"}}},"description":"Success","x-response-codes":{"errors":{"46002":{"category":"REQUEST","description":"The filter value is invalid. Sample supported values: filter=categoryIds:{catId1|catId2|catId3}.","domain":"API_METADATA"},"46003":{"category":"REQUEST","description":"The specified categoryId was not found for the marketplace.","domain":"API_METADATA"},"46004":{"category":"REQUEST","description":"Only 50 Category IDs specified in the filter are considered.","domain":"API_METADATA"}}}},"204":{"description":"No content"},"400":{"description":"Bad Request","x-response-codes":{"errors":{"46001":{"category":"REQUEST","description":"The specified marketplace ID was not found.","domain":"API_METADATA"}}}},"404":{"description":"Not found"},"500":{"description":"Internal Server Error","x-response-codes":{"errors":{"46000":{"category":"APPLICATION","description":"There was a problem with an eBay internal system or process.Contact eBay developer support for assistance.","domain":"API_METADATA"}}}}},"security":[{"api_auth":["https://api.ebay.com/oauth/api_scope"]}],"tags":["marketplace"]}},"/marketplace/{marketplace_id}/get_negotiated_price_policies":{"get":{"description":"This method returns the eBay policies that define the supported negotiated price features (like \"best offer\") for the categories of a specific marketplace. <br><br>By default, this method returns the entire category tree for the specified marketplace. You can limit the size of the result set by using the <b>filter</b> query parameter to specify only the category IDs you want to review.<br /><br /><span class=\"tablenote\"><span style=\"color:#478415\"><strong>Tip:</strong></span> This method can potentially return a very large response payload. eBay recommends that the response payload be compressed by passing in the <b>Accept-Encoding</b> request header and setting the value to <code>application/gzip</code>.</span>","operationId":"getNegotiatedPricePolicies","parameters":[{"description":"This query parameter limits the response by returning policy information for only the selected sections of the category tree. Supply <b>categoryId</b> values for the sections of the tree you want returned. <br><br>When you specify a <b>categoryId</b> value, the returned category tree includes the policies for that parent node, plus the policies for any leaf nodes below that parent node. <br><br>The parameter takes a list of <b>categoryId</b> values and you can specify up to 50 separate category IDs. Separate multiple values with a pipe character ('|'). If you specify more than 50 <code>categoryId</code> values, eBay returns the policies for the first 50 IDs and a warning that not all categories were returned. <br><br><b>Example:</b> <code>filter=categoryIds:{100|101|102}</code> <br><br>Note that you must URL-encode the parameter list, which results in the following filter for the above example: <br><br> <code>filter=categoryIds%3A%7B100%7C101%7C102%7D</code>","in":"query","name":"filter","required":false,"schema":{"type":"string"}},{"description":"This path parameter specifies the eBay marketplace for which policy information is retrieved. See the following page for a list of valid eBay marketplace IDs: <a href=\"/api-docs/static/rest-request-components.html#marketpl\" target=\"_blank\">Request components</a>.","in":"path","name":"marketplace_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NegotiatedPricePolicyResponse"}}},"description":"Success","x-response-codes":{"errors":{"46002":{"category":"REQUEST","description":"The filter value is invalid. Sample supported values: filter=categoryIds:{catId1|catId2|catId3}.","domain":"API_METADATA"},"46003":{"category":"REQUEST","description":"The specified categoryId was not found for the marketplace.","domain":"API_METADATA"},"46004":{"category":"REQUEST","description":"Only 50 Category IDs specified in the filter are considered.","domain":"API_METADATA"}}}},"204":{"description":"No content"},"400":{"description":"Bad Request","x-response-codes":{"errors":{"46001":{"category":"REQUEST","description":"The specified marketplace ID was not found.","domain":"API_METADATA"}}}},"404":{"description":"Not found"},"500":{"description":"Internal Server Error","x-response-codes":{"errors":{"46000":{"category":"APPLICATION","description":"There was a problem with an eBay internal system or process.Contact eBay developer support for assistance.","domain":"API_METADATA"}}}}},"security":[{"api_auth":["https://api.ebay.com/oauth/api_scope"]}],"tags":["marketplace"]}},"/marketplace/{marketplace_id}/get_return_policies":{"get":{"description":"This method returns the eBay policies that define whether or not you must include a return policy for the items you list in the categories of a specific marketplace, plus the guidelines for creating domestic and international return policies in the different eBay categories. <br><br>By default, this method returns the entire category tree for the specified marketplace. You can limit the size of the result set by using the <b>filter</b> query parameter to specify only the category IDs you want to review.<br /><br /><span class=\"tablenote\"><span style=\"color:#478415\"><strong>Tip:</strong></span> This method can potentially return a very large response payload. eBay recommends that the response payload be compressed by passing in the <b>Accept-Encoding</b> request header and setting the value to <code>application/gzip</code>.</span>","operationId":"getReturnPolicies","parameters":[{"description":"This query parameter limits the response by returning policy information for only the selected sections of the category tree. Supply <b>categoryId</b> values for the sections of the tree you want returned. <br><br>When you specify a <b>categoryId</b> value, the returned category tree includes the policies for that parent node, plus the policies for any leaf nodes below that parent node. <br><br>The parameter takes a list of <b>categoryId</b> values and you can specify up to 50 separate category IDs. Separate multiple values with a pipe character ('|'). If you specify more than 50 <code>categoryId</code> values, eBay returns the policies for the first 50 IDs and a warning that not all categories were returned. <br><br><b>Example:</b> <code>filter=categoryIds:{100|101|102}</code> <br><br>Note that you must URL-encode the parameter list, which results in the following filter for the above example: <br><br> <code>filter=categoryIds%3A%7B100%7C101%7C102%7D</code>","in":"query","name":"filter","required":false,"schema":{"type":"string"}},{"description":"This path parameter specifies the eBay marketplace for which policy information is retrieved. See the following page for a list of valid eBay marketplace IDs: <a href=\"/api-docs/static/rest-request-components.html#marketpl\" target=\"_blank\">Request components</a>.","in":"path","name":"marketplace_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReturnPolicyResponse"}}},"description":"Success","x-response-codes":{"errors":{"46002":{"category":"REQUEST","description":"The filter value is invalid. Sample supported values: filter=categoryIds:{catId1|catId2|catId3}.","domain":"API_METADATA"},"46003":{"category":"REQUEST","description":"The specified categoryId was not found for the marketplace.","domain":"API_METADATA"},"46004":{"category":"REQUEST","description":"Only 50 Category IDs specified in the filter are considered.","domain":"API_METADATA"}}}},"204":{"description":"No content"},"400":{"description":"Bad Request","x-response-codes":{"errors":{"46001":{"category":"REQUEST","description":"The specified marketplace ID was not found.","domain":"API_METADATA"}}}},"404":{"description":"Not found"},"500":{"description":"Internal Server Error","x-response-codes":{"errors":{"46000":{"category":"APPLICATION","description":"There was a problem with an eBay internal system or process.Contact eBay developer support for assistance.","domain":"API_METADATA"}}}}},"security":[{"api_auth":["https://api.ebay.com/oauth/api_scope"]}],"tags":["marketplace"]}}},"components":{"schemas":{"AutomotivePartsCompatibilityPolicy":{"properties":{"categoryId":{"description":"The category ID to which the automotive-parts-compatibility policies apply.","type":"string"},"categoryTreeId":{"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.","type":"string"},"compatibilityBasedOn":{"description":"Indicates whether the category supports parts compatibility by either <code>ASSEMBLY</code> or by <code>SPECIFICATION</code>. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/metadata/types/sel:CompatibilityTypeEnum'>eBay API documentation</a>","type":"string"},"compatibleVehicleTypes":{"description":"Indicates the compatibility classification of the part based on high-level vehicle types.","items":{"description":" For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/metadata/types/sel:CompatibleVehicleTypeEnum'>eBay API documentation</a>","type":"string"},"type":"array"},"maxNumberOfCompatibleVehicles":{"description":"Specifies the maximum number of compatible vehicle-applications allowed per item.","format":"int32","type":"integer"}},"type":"object"},"AutomotivePartsCompatibilityPolicyResponse":{"properties":{"automotivePartsCompatibilityPolicies":{"description":"A list of category IDs and the automotive-parts-compatibility policies for each of the listed categories.","items":{"$ref":"#/components/schemas/AutomotivePartsCompatibilityPolicy"},"type":"array"},"warnings":{"description":"A list of the warnings that were generated as a result of the request. This field is not returned if no warnings were generated by the request.","items":{"$ref":"#/components/schemas/Error"},"type":"array"}},"type":"object"},"Error":{"description":"A container that defines the elements of error and warning messages.","properties":{"category":{"description":"The category type for this error or warning. It takes an ErrorCategory object which can have one of three values:<ul><li><code>Application</code>: Indicates an exception or error occurred in the application code or at runtime. Examples include catching an exception in a service's business logic, system failures, or request errors from a dependency.</li><li><code>Business</code>: Used when your service or a dependent service refused to continue processing on the resource because of a business rule violation such as \"Seller does not ship item to Antarctica\" or \"Buyer ineligible to purchase an alcoholic item\". Business errors are not syntactical input errors.</li><li><code>Request</code>: Used when there is anything wrong with the request, such as authentication, syntactical errors, rate limiting or missing headers, bad HTTP header values, and so on.</li></ul>","type":"string"},"domain":{"description":"Name of the domain containing the service or application.","type":"string"},"errorId":{"description":"A positive integer that uniquely identifies the specific error condition that occurred. Your application can use error codes as identifiers in your customized error-handling algorithms.","format":"int32","type":"integer"},"inputRefIds":{"description":"Identifies specific request elements associated with the error, if any. inputRefId's response is format specific. For JSON, use <i>JSONPath</i> notation.","items":{"type":"string"},"type":"array"},"longMessage":{"description":"An expanded version of message that should be around 100-200 characters long, but is not required to be such.","type":"string"},"message":{"description":"An end user and app developer friendly device agnostic message. It explains what the error or warning is, and how to fix it (in a general sense). Its value is at most 50 characters long. If applicable, the value is localized in the end user's requested locale.","type":"string"},"outputRefIds":{"description":"Identifies specific response elements associated with the error, if any. Path format is the same as <code>inputRefId</code>.","items":{"type":"string"},"type":"array"},"parameters":{"description":"This optional complex field type contains a list of one or more context-specific <code>ErrorParameter</code> objects, with each item in the list entry being a parameter (or input field name) that caused an error condition. Each <code>ErrorParameter</code> object consists of two fields, a <code>name</code> and a <code>value</code>.","items":{"$ref":"#/components/schemas/ErrorParameter"},"type":"array"},"subdomain":{"description":"Name of the domain's subsystem or subdivision. For example, checkout is a subdomain in the buying domain.","type":"string"}},"type":"object"},"ErrorParameter":{"description":"Container for a error parameter.","properties":{"name":{"description":"Name of the entity that threw the error.","type":"string"},"value":{"description":"A description of the error.","type":"string"}},"type":"object"},"ExtendedProducerResponsibility":{"description":"A type that defines the attributes of an Extended Producer Responsibility policy.","properties":{"enabledForVariations":{"description":"An indication of whether the attribute can be enabled for listing variations.<br /><br />If the value is <code>true</code>, the attribute may be specified at the variation level.","type":"boolean"},"name":{"description":"The name of the attribute included in the policy. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/metadata/types/sel:ExtendedProducerResponsibilityEnum'>eBay API documentation</a>","type":"string"},"usage":{"description":"The usage guidelines for the attribute, in the specified marketplace. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/metadata/types/sel:GenericUsageEnum'>eBay API documentation</a>","type":"string"}},"type":"object"},"ExtendedProducerResponsibilityPolicy":{"description":"A type that defines the Extended Producer Responsibility policy.","properties":{"categoryId":{"description":"The unique identifier for the category under which the policy applies.","type":"string"},"categoryTreeId":{"description":"The unique identifier for the category tree under which the policy applies.","type":"string"},"supportedAttributes":{"description":"The details regarding the attributes included in the policy, such as their usage guidelines and whether they can be specified at the listing variation level.","items":{"$ref":"#/components/schemas/ExtendedProducerResponsibility"},"type":"array"}},"type":"object"},"ExtendedProducerResponsibilityPolicyResponse":{"description":"A type that defines the response fields for the <b>getExtendedProducerResponsibilityPolicies</b> method.","properties":{"extendedProducerResponsibilities":{"description":"An array of response fields detailing the Extended Producer Responsibility policies supported for the specified marketplace.","items":{"$ref":"#/components/schemas/ExtendedProducerResponsibilityPolicy"},"type":"array"},"warnings":{"description":"A collection of warnings generated for the request.","items":{"$ref":"#/components/schemas/Error"},"type":"array"}},"type":"object"},"HazardStatement":{"description":"A type that describes hazard statements for hazardous materials labels","properties":{"statementDescription":{"description":"The description of the statement localized to the default language of the marketplace. For sample values, see <a href='/api-docs/sell/static/metadata/feature-regulatorhazmatcontainer.html#Hazard'>Hazard statement sample values</a>.","type":"string"},"statementId":{"description":"The identifier of the statement. For sample values, see <a href='/api-docs/sell/static/metadata/feature-regulatorhazmatcontainer.html#Hazard'>Hazard statement sample values</a>.","type":"string"}},"type":"object"},"HazardousMaterialDetailsResponse":{"description":"A type that defines the response fields for the <b>getHazardousMaterialsLabels</b> method.","properties":{"pictograms":{"description":"This array contains of available hazardous materials hazard pictograms for the specified marketplace.","items":{"$ref":"#/components/schemas/Pictogram"},"type":"array"},"signalWords":{"description":"This array contains available hazardous materials signal words for the specified marketplace.","items":{"$ref":"#/components/schemas/SignalWord"},"type":"array"},"statements":{"description":"This array contains available hazardous materials hazard statements for the specified marketplace.","items":{"$ref":"#/components/schemas/HazardStatement"},"type":"array"}},"type":"object"},"ItemCondition":{"description":"<span class=\"tablenote\"><b>Note: </b>In all eBay marketplaces, Condition ID 2000 now maps to an item condition of 'Certified Refurbished', and not 'Manufacturer Refurbished'. To list an item as 'Certified Refurbished', a seller must be pre-qualified by eBay for this feature. Any seller who is not eligible for this feature will be blocked if they try to create a new listing or revise an existing listing with this item condition. Any active listings on any eBay marketplace that had 'Manufacturer Refurbished' as the item condition should have been automatically updated by eBay to the 'Seller Refurbished' item condition (Condition ID 2500). <br><br> Any seller that is interested in eligibility requirements to list with 'Certified Refurbished' should see the <a href=\"https://pages.ebay.com/seller-center/listing-and-marketing/certified-refurbished-program.html \" target=\"_blank\">Certified refurbished program</a> page in Seller Center. </span>","properties":{"conditionDescription":{"description":"The human-readable label for the condition (e.g., \"New\"). This value is typically localized for each site. <br><br>Note that the display name can vary by category. For example, the description for condition ID <code>1000</code> could be called \"New: with Tags\" in one category and \"Brand New\" in another. For details on condition IDs and descriptions, see <a href='/api-docs/sell/static/metadata/condition-id-values.html'>Item condition ID and name values</a>.","type":"string"},"conditionId":{"description":"The ID value of the selected item condition. For information on the supported condition ID values, see <a href='/api-docs/sell/static/metadata/condition-id-values.html'>Item condition ID and name values</a>.","type":"string"},"usage":{"description":"The value returned in this field indicates if there are any usage restrictions or requirements for the corresponding item condition in the corresponding category.<br /><br /><span class=\"tablenote\"><b>Note:</b> Currently, the only supported value is 'RESTRICTED', and this field will only be returned for the following conditions: 2000, 2010, 2020, 2030. Sellers must be pre-approved to use any of these item conditions.</span> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/metadata/types/sel:UsageEnum'>eBay API documentation</a>","type":"string"}},"type":"object"},"ItemConditionPolicy":{"properties":{"categoryId":{"description":"The category ID to which the item-condition policy applies.","type":"string"},"categoryTreeId":{"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.","type":"string"},"itemConditionRequired":{"description":"This flag denotes whether or not you must list the item condition in a listing for the specified category. If set to <code>true</code>, you must specify an item condition for the associated category.","type":"boolean"},"itemConditions":{"description":"The item-condition values allowed in the category.<br /><br /><span class=\"tablenote\"><b>Note:</b> The ‘Seller Refurbished’ item condition (condition ID 2500) has been replaced by the 'Excellent - Refurbished', 'Very Good - Refurbished', and 'Good - Refurbished' item conditions in a select number of eBay marketplaces and categories. See the <a href=\"/api-docs/sell/static/metadata/condition-id-values.html#Category \" target=\"_blank \"> eBay Refurbished Program - Category and marketplace support</a> topic for more details.<br/><br/>Similar to the ‘Certified Refurbished’ item condition (condition ID 2000), a seller’s OAuth user token will have to be used instead of an OAuth application token, since each seller must go through an application and qualification process before using any of these new refurbished item conditions in supported categories. If a seller is not qualified to use the new refurbished item conditions, these item condition values will not be returned by <b>getItemConditionPolicies</b>.</span>","items":{"$ref":"#/components/schemas/ItemCondition"},"type":"array"}},"type":"object"},"ItemConditionPolicyResponse":{"properties":{"itemConditionPolicies":{"description":"A list of category IDs and the policies for how to indicate an item's condition in each of the listed categories.","items":{"$ref":"#/components/schemas/ItemConditionPolicy"},"type":"array"},"warnings":{"description":"A list of the warnings that were generated as a result of the request. This field is not returned if no warnings were generated by the request.","items":{"$ref":"#/components/schemas/Error"},"type":"array"}},"type":"object"},"ListingStructurePolicy":{"properties":{"categoryId":{"description":"The category ID to which the listing-structure policy applies.","type":"string"},"categoryTreeId":{"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.","type":"string"},"variationsSupported":{"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.","type":"boolean"}},"type":"object"},"ListingStructurePolicyResponse":{"properties":{"listingStructurePolicies":{"description":"Returns a list of category IDs plus a flag indicating whether or not each listed category supports item variations.","items":{"$ref":"#/components/schemas/ListingStructurePolicy"},"type":"array"},"warnings":{"description":"A list of the warnings that were generated as a result of the request. This field is not returned if no warnings were generated by the request.","items":{"$ref":"#/components/schemas/Error"},"type":"array"}},"type":"object"},"NegotiatedPricePolicy":{"properties":{"bestOfferAutoAcceptEnabled":{"description":"This flag denotes whether or not the category supports the setting of a price at which best offers are automatically accepted. If set to <code>true</code>, the category does support the setting of an automatic price for best-offers.","type":"boolean"},"bestOfferAutoDeclineEnabled":{"description":"This flag denotes whether or not the category supports the setting of an auto-decline price for best offers. If set to <code>true</code>, the category does support the setting of an automatic-decline price for best-offers.","type":"boolean"},"bestOfferCounterEnabled":{"description":"This flag denotes whether or not the category supports the setting for an automatic counter-offer on best offers. If set to <code>true</code>, the category does support the setting of an automatic counter-offer price for best-offers.","type":"boolean"},"categoryId":{"description":"The category ID to which the negotiated-price policies apply.","type":"string"},"categoryTreeId":{"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.","type":"string"}},"type":"object"},"NegotiatedPricePolicyResponse":{"properties":{"negotiatedPricePolicies":{"description":"A list of category IDs and the policies related to negotiated-price items for each of the listed categories.","items":{"$ref":"#/components/schemas/NegotiatedPricePolicy"},"type":"array"},"warnings":{"description":"A list of the warnings that were generated as a result of the request. This field is not returned if no warnings were generated by the request.","items":{"$ref":"#/components/schemas/Error"},"type":"array"}},"type":"object"},"Pictogram":{"description":"A type that describes pictograms for hazardous materials labels.","properties":{"pictogramDescription":{"description":"The description of the pictogram localized to the default language of the marketplace. For sample values, see <a href='/api-docs/sell/static/metadata/feature-regulatorhazmatcontainer.html#Pictogra'>Pictogram sample values</a>.","type":"string"},"pictogramId":{"description":"The identifier of the pictogram. For sample values, see <a href='/api-docs/sell/static/metadata/feature-regulatorhazmatcontainer.html#Pictogra'>Pictogram sample values</a>.","type":"string"},"pictogramUrl":{"description":"The URL of the pictogram.","type":"string"}},"type":"object"},"ReturnPolicy":{"properties":{"categoryId":{"description":"The category ID to which the return policies apply.","type":"string"},"categoryTreeId":{"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.","type":"string"},"domestic":{"$ref":"#/components/schemas/ReturnPolicyDetails","description":"This complex type defines the category policies related to domestic item returns."},"international":{"$ref":"#/components/schemas/ReturnPolicyDetails","description":"This complex type defines the category policies related to international item returns."},"required":{"description":"If set to <code>true</code>, this flag indicates that you must specify a return policy for items listed in the associated category. <br><br>Note that not accepting returns (setting <b>returnsAcceptedEnabled</b> to <code>false</code>) is a valid return policy.","type":"boolean"}},"type":"object"},"ReturnPolicyDetails":{"description":"This container defines the category policies that relate to domestic and international return policies (the return shipping is made via a domestic or an international shipping service, respectively).","properties":{"policyDescriptionEnabled":{"description":"If set to <code>true</code>, this flag indicates you can supply a detailed return policy description within your return policy (for example, by populating the <b>returnInstructions</b> field in the Account API's <b>createReturnPolicy</b>). User-supplied return policy details are allowed only in the DE, ES, FR, and IT marketplaces.","type":"boolean"},"refundMethods":{"description":"A list of refund methods allowed for the associated category.","items":{"description":" For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/metadata/types/sel:RefundMethodEnum'>eBay API documentation</a>","type":"string"},"type":"array"},"returnMethods":{"description":"A list of return methods allowed for the associated category.","items":{"description":" For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/metadata/types/sel:Retu