question

bantotka avatar image
0 Likes"
bantotka asked

Incorrect Category ID from Offers API

I'm having issues with the returns coming back from the offers API.

Currently in the ebay_au marketplace and what I'm noticing is that on some of our listings that sit in the category id of 25621, what is being returned by the API is that the offer currently sits in category ID 50067.

When using the taxonomy API for more details on the returned ID, it is indicated that this cagetory id does not even belong in the tree for the ebay_au marketplace.

I also, double checked against the downloaded aspects gzip and can't find reference to this category id either.

Please investigate as this seems to be breaking our application.

Offer JSON - removed ids/sku

{"total":1,"size":1,"href":"\/sell\/inventory\/v1\/offer?offset=0&limit=20","limit":20,"offers":[{"offerId":"xxxxxxxxxxx","sku":"xxxx","marketplaceId":"EBAY_AU","format":"FIXED_PRICE","pricingSummary":{"price":{"value":"18.0","currency":"AUD"},"originalRetailPrice":{"value":"22.95","currency":"AUD"}},"listingPolicies":{"eBayPlusIfEligible":false},"storeCategoryNames":["Connectors\/DC Power"],"categoryId":"50067","merchantLocationKey":"Default-EBAY_AU","tax":{"applyTax":false},"listing":{"listingId":"xxxxxxxxxxxx","listingStatus":"ACTIVE","soldQuantity":2},"status":"PUBLISHED","listingDuration":"GTC","hideBuyerDetails":false}]}

Error on Category ID

{"errors":[{"errorId":62005,"domain":"API_TAXONOMY","category":"REQUEST","message":"The specified category ID does not belong to specified category tree.","parameters":[{"name":"category_id","value":"50067"},{"name":"queryParam","value":"category_id"}]}]}

Sample from the Malaysian marketplace

{"categoryTreeId":"207","categoryTreeVersion":"40","categorySubtreeNode":{"category":{"categoryId":"50067","categoryName":"RV, Trailer & Camper Parts"},"parentCategoryTreeNodeHref":"https:\/\/api.ebay.com\/commerce\/taxonomy\/v1\/category_tree\/207\/get_category_subtree?category_id=6028","childCategoryTreeNodes":[{"category":{"categoryId":"50069","categoryName":"Exterior"},"parentCategoryTreeNodeHref":"https:\/\/api.ebay.com\/commerce\/taxonomy\/v1\/category_tree\/207\/get_category_subtree?category_id=50067","categoryTreeNodeLevel":3,"leafCategoryTreeNode":true},{"category":{"categoryId":"50070","categoryName":"Interior"},"parentCategoryTreeNodeHref":"https:\/\/api.ebay.com\/commerce\/taxonomy\/v1\/category_tree\/207\/get_category_subtree?category_id=50067","categoryTreeNodeLevel":3,"leafCategoryTreeNode":true},{"category":{"categoryId":"50071","categoryName":"Tires & Wheels"},"parentCategoryTreeNodeHref":"https:\/\/api.ebay.com\/commerce\/taxonomy\/v1\/category_tree\/207\/get_category_subtree?category_id=50067","categoryTreeNodeLevel":3,"leafCategoryTreeNode":true},{"category":{"categoryId":"50072","categoryName":"Towing Systems"},"parentCategoryTreeNodeHref":"https:\/\/api.ebay.com\/commerce\/taxonomy\/v1\/category_tree\/207\/get_category_subtree?category_id=50067","categoryTreeNodeLevel":3,"leafCategoryTreeNode":true},{"category":{"categoryId":"50073","categoryName":"Other"},"parentCategoryTreeNodeHref":"https:\/\/api.ebay.com\/commerce\/taxonomy\/v1\/category_tree\/207\/get_category_subtree?category_id=50067","categoryTreeNodeLevel":3,"leafCategoryTreeNode":true},{"category":{"categoryId":"171109","categoryName":"Engines & Components"},"parentCategoryTreeNodeHref":"https:\/\/api.ebay.com\/commerce\/taxonomy\/v1\/category_tree\/207\/get_category_subtree?category_id=50067","childCategoryTreeNodes":[{"category":{"categoryId":"50068","categoryName":"RV Engine Components"},"parentCategoryTreeNodeHref":"https:\/\/api.ebay.com\/commerce\/taxonomy\/v1\/category_tree\/207\/get_category_subtree?category_id=171109","categoryTreeNodeLevel":4,"leafCategoryTreeNode":true},{"category":{"categoryId":"171110","categoryName":"Complete RV Engines"},"parentCategoryTreeNodeHref":"https:\/\/api.ebay.com\/commerce\/taxonomy\/v1\/category_tree\/207\/get_category_subtree?category_id=171109","categoryTreeNodeLevel":4,"leafCategoryTreeNode":true}],"categoryTreeNodeLevel":3}],"categoryTreeNodeLevel":2}}

Further to this I have found that the category ID 50067 seems to only exist in the Asia region but does not appear in AU.

EBAY_MY - Malaysia

EBAY_PH - Philippines

EBAY_SG - Singapore

Last week this issue was not present and has appeared the last 3 days.

categoryidoffersgetoffers
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.