02-06-2024 03:41 AM
From Postman I'm testing: https://api.sandbox.ebay.com/buy/browse/v1/item_summary/search?q=drone
but the response is:
02-15-2024 01:56 PM
Hi @aflt_45
Browse API search call requires an access token created with the client credentials grant flow, using the "https://api.ebay.com/oauth/api_scope" scope.
Also for the reference, see the cURL code snippet for client credentials grant flow below:
curl --location 'https://api.sandbox.ebay.com/identity/v1/oauth2/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Basic ............' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_credentials=https://api.ebay.com/oauth/api_scope'