question

pa_alex_sellings avatar image
0 Likes"
pa_alex_sellings asked

unitPrice not exist in API response even if outputSelector set as UnitPriceInfo

here is my request example:
https://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsAdvanced&SERVICE-VERSION=1.15.0&SECURITY-APPNAME=[id]&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&outputSelector=SellerInfo&outputSelector=PictureURLLarge&outputSelector=UnitPriceInfo&keywords=nike

please advise

outputselector issues
· 2
10 |600

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

the docu shows an example that uses outputselector as array


...&outputSelector(0)=SellerInfo&outputSelector(1)=StoreInfo

0 Likes 0 ·
michab2003 avatar image
1 Like"
michab2003 answered

https://developer.ebay.com/devzone/finding/concepts/findingapiguide.html



Selecting Additional Data to Return in Search Results


In the search results, searchResult.item contains a default set of data for items matching your request. If you want more data than the default data, you can use one or more outputSelector fields, as follows:




SellerInfo—Include information about the seller in the response.


StoreInfo—Include information about the seller's eBay store in the response.


AspectHistogram—Include an AspectHistogram container with information about aspects from the category that is most relevant to your search.


CategoryHistogram—Include a CategoryHistogram container with information about categories that match your search


----------


the docu says nothing about UnitPriceInfo

10 |600

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

pa_alex_sellings avatar image
0 Likes"
pa_alex_sellings answered

true, thank you. Probably that's the answer why I'm not getting it in the response. But at the same moment this api doc - https://developer.ebay.com/DevZone/finding/CallRef/types/OutputSelectorType.html says UnitPriceInfo is possible value for OutputSelectorType and could be used by findItemsAdvanced which is confused.


I'm looking for ability to get with the item default details product quantity and seems like UnitPriceInfo perfect fit for that. But I still struggling with it.

10 |600

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.