![]() ![]() You can use category_ids by itself or use it with any combination of the gtin, epid, and q fields, which gives you additional control over the result set.This field can have one category ID or a comma separated list of IDs.For details see Get Categories for Buy APIs. For the US marketplace, use the Category Changes page.You can use the following techniques to find a category by site: The list of eBay category IDs is not published and category IDs are not the same across all the eBay marketplaces. buy/marketplace-insights/v1_beta/item_sales/search?q=shirt&category_ids=137084 But if you also include the category ID 137084, the results will be limited to 'Men's Athletic Apparel'. For example, if you search for 'shirt' the result set will be very large. The category ID is required and is used to limit the results. Optional: Any combination of epid, gtin, or q Restriction: The * wildcard character is not allowed in this field. buy/marketplace-insights/v1_beta/item_sales/search?q=iphone, ipad&category_ids=15724 buy/marketplace-insights/v1_beta/item_sales/search?q=iphone&category_ids=15724 ipad In the following examples, the query returns items that have iphone OR ipad. If the keywords are separated by a space, it is treated as an OR.buy/marketplace-insights/v1_beta/item_sales/search?q=iphone,ipad&category_ids=15724 In the following example, the query returns items that have iphone AND ipad. If the keywords are separated by a comma, it is treated as an AND.Input Resource URI (production)Ī string consisting of one or more keywords that are used to search for items on eBay. Restrictionsįor a list of supported sites and other restrictions, see API Restrictions. For details, see URL encoding query parameter values. Query parameter values need to be URL encoded. For details see, Request headers in the Buy APIs Overview. If you are an eBay Network Partner you must use affiliateCampaignId= ePNCampaignId,affiliateReferenceId= referenceId in the header in order to be paid for selling eBay items on your site. You will want to use the X-EBAY-C-ENDUSERCTX request header with this method. ![]() For more information about Best Match, see the eBay help page Best Match. By default, the results are sorted by "Best Match". ![]() There are pagination controls ( limit and offset fields) and sort query parameters that control/sort the data that is returned.
0 Comments
Leave a Reply. |