10-31-2023 08:09 PM
I'm testing with the page 'https://developer.ebay.com/my/api_test_tool?index=0&api=fulfillment&call=order__GET&variation=json&e...,' but still return a 403 error.
The same error occurs whether it's in the sandbox or production environment.
How can i fix it? Which step went wrong or where did the error occur....
12-29-2023 10:20 AM
Hi @jianghaih55
Please make sure to execute the getOrders call with OAuth User Token as getOrders call requires an access token created with the authorization code grant flow, using one or more scopes from the following list:
https://api.ebay.com/oauth/api_scope/sell.fulfillment
https://api.ebay.com/oauth/api_scope/sell.fulfillment.readonly
Getting User access tokens via the Developer Portal: https://developer.ebay.com/api-docs/static/oauth-ui-tokens.html#user