12-27-2023 01:27 PM
I have a client that is having difficulty fetching inventory. But only for one account, not for others. I had the client generate a new refresh_token via the oauth process.
When creating the access token based on the refresh token, it doesn't seem to matter if I provide a valid refresh token or an invalid token. I get an access token either way.
The access tokens that are generated (whether using a valid or invalid refresh token) will not error when requesting results from /sell/inventory/v1/inventory_item , instead they'll just return zero results.
Help!
12-28-2023 09:31 AM
Please make sure to use the access token of the user account corresponding to which you want to retrieve results.
You can execute the getUser call to fetch the account profile information for an authenticated user, which requires a User access token.
12-30-2023 09:20 AM
I've performed the getUser request, and it's correctly returning information about the account I want to be able to use.
However, when I perform getInventoryItems, I get back zero results. The client has items in inventory, and has a couple other accounts that are set up in the same way. Why does this one account not report any inventory?