11-16-2024 10:36 AM
My search by image always return result
No products found. Please try another image.
11-18-2024 06:30 AM
Hi @stylelist,
We are able to execute the searchByImage call successfully and getting the items in the response as well.
You can find the cURL code snipped for the request below:
curl --location 'https://api.ebay.com/buy/browse/v1/item_summary/search_by_image' \
--header 'X-EBAY-C-MARKETPLACE-ID: EBAY_US' \
--header 'Authorization: Bearer v^1.1#i^1#r^0#p^1#f^0#I^3#t^H4' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"image": "The Base64 string of the image"
}'
To get the Base64 image string, you can use sites such as https://codebeautify.org/image-to-base64-converter.
11-22-2024 03:53 AM - edited 11-22-2024 04:10 AM
I implement it and got success Found 50 items.
Working on the results display and while testing i tried search many times ....
I got the following response below, at the same time text search is working and get search results
[22-Nov-2024 11:50:22 UTC] API Response: {"errors":[{"errorId":12000,"domain":"API_BROWSE","category":"APPLICATION","message":"There was a problem with an eBay internal system or process. Contact eBay developer support for assistance."}]}
[22-Nov-2024 11:50:22 UTC] Error from eBay API: [{"errorId":12000,"domain":"API_BROWSE","category":"APPLICATION","message":"There was a problem with an eBay internal system or process. Contact eBay developer support for assistance."}]