question

lubamb_32 avatar image
0 Likes"
lubamb_32 asked ·

getItem api does not return product field

Hello, I'm trying to fetch product information from getItem endpoint. This is the url query I'm using: ` https://api.ebay.com/buy/browse/v1/item/${id}?fieldgroups=PRODUCT` It seems that fieldgroups field is being ignored, since only basic item information without product object is being returned.
getitem
10 |600 characters needed characters left characters exceeded

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

sanjeev_developersupport avatar image
0 Likes"
sanjeev_developersupport answered ·
Hi @lubamb_32, Yes, Catalog API requires an access token created with the authorization code grant flow, In future, if you need it you can get a temporary User token through the API Explorer. See these docs for details on how to programmatically generate User access tokens: https://developer.ebay.com/api-docs/static/oauth-authorization-code-grant.html For your question, Yes, but getItem retrieves the details of a specific item, such as description, images, price, category, all item aspects. To know more about getItem: https://developer.ebay.com/api-docs/buy/browse/resources/item/methods/getItem To know more about getProduct: https://developer.ebay.com/api-docs/commerce/catalog/resources/product/methods/getProduct
· Share
10 |600 characters needed characters left characters exceeded

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

lubamb_32 avatar image
0 Likes"
lubamb_32 answered ·
Yes apparently I was expecting this data to fall under product field, but it appears data is there, but not nested under product field. I have one more question though. Is the product related data returned from this browse getItem API different than the data returned from catalog API ? We have a use case where we need an access to product details (not ebay user uploads). Best case scenario would be that those product details would have stock images/stock descriptions. We were expecting that catalog API should have it, but catalog API requires user consent for authentication, which does not suite our use case. So my question is if the getItem APi provides same product data (mostly interested in images/descriptions/model numbers) as the one proviced from catalog api ?
· Share
10 |600 characters needed characters left characters exceeded

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

sanjeev_developersupport avatar image
0 Likes"
sanjeev_developersupport answered ·
Hi @lubamb_32, We verified browse API is returning additional information as it to be when the query string "fieldgroups=PRODUCT". Can you please provide us the following details so that we can check: 1. rlogid 2. Sample request URL with 'item id' 3. Additional information which is not returning Thanks.
· Share
10 |600 characters needed characters left characters exceeded

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

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.