question

keaka_70 avatar image
0 Likes"
keaka_70 asked ·

Linking outh to my production account,Linking using OAUTH to my production account

Hello - I have to confess I am a little confused. I am using the API Explorer Tool in the hope of test running some of the APIs against my own proudction account, but I do not appear to get results related to my personal production account. This is what I have done so far:

1. created Production Application keys AppID and CertId in https://developer.ebay.com/my/keys
2. created Production User Tokens and able to sign in using OAUTH in https://developer.ebay.com/my/auth/?env=production&index=0
3. created Production User Tokens using OAUTH via my Application also

The issue is that when I use the following from the API Explorer
https://developer.ebay.com/my/api_test_tool?index=0&api=inventory&call=inventory_item__GET&variation=json&env=production

I get a response body showing:;
{
"total": 0,
"size": 0
}

I know this is wrong as I have 300+ items in my inventory

Am I totally missing something? Appreciate the help.

Kind Regards.

oauth2
· 1
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

I forgot to add that I am a https://www.ebay.co.uk/ user and selected "3(UK)" under the Select Site ID dropdown on the API Explorer screen.

0 Likes 0 ·

1 Answer

· Write an Answer
sanjiv_developersupport avatar image
0 Likes"
sanjiv_developersupport answered ·

Hi @keaka_70,

It seems like you have listed the item either from eBay UI or by Trading API so you not getting any result in the GetInventoryItems call. You will get the inventory records of a seller's account by BulkGetInventoryItem, GetInventoryItems and GetInventoryItem call, only if you have listed the item or created the inventory record from inventory API. For listing an item via Inventory API, please make sure you are following the same flow as mentioned in the link given below:
Ref: https://developer.ebay.com/api-docs/sell/static/inventory/inventory-item-to-offer.html

Best regards,
eBay Developer Support

·
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.