10-04-2024 01:13 AM
I have successfully created a developer account and have added third-party access to my eBay seller account. However, I am experiencing difficulties in retrieving orders using the API.
Current Setup:
Successfully generating the token, I am encountering a 403 Forbidden error when attempting to access the orders endpoint. The error message indicates that there is an "Access denied" issue due to insufficient permissions.
Client error: `GET https://api.ebay.com/sell/fulfillment/v1/order` resulted in a `403 Forbidden` response:
{"errors":[{"errorId":1100,"domain":"ACCESS","category":"REQUEST","message":"Access denied","longMessage":"Insufficient (truncated...)
Key Points:
10-29-2024 09:42 AM
Hi @dunsterhouseltd,
Fulfillment API calls like getOrder and getOrders require an User Access Token created with the authorization code grant flow, using the below OAuth scopes:
https://api.ebay.com/oauth/api_scope/sell.fulfillment
https://api.ebay.com/oauth/api_scope/sell.fulfillment.readonly
You can check the "OAuth scope" section in the API documentation to get the information on required Access token and Scope for the call.