eBay 'Get Inventory Items' API NOT returning items - ebay-api

I am trying to call this API with my eBay user auth token on the eBay API Explorer:
https://api.ebay.com/sell/inventory/v1/inventory_item
The Headers:
Authorization:Bearer [MY_EBAY_SELLER_USER_TOKEN]
Accept:application/json
Content-Type:application/json
Now I'm receiving this in response:
{
"total": 0,
"size": 0
}
Now I definitely have some items listed for sale and they are showing up on eBay. I also made sure that I am in production mode and that my auth token is also a production token.
What's going on with you eBay??? See image below:

So it turns out that eBay's Inventory API is fairly new.
Only items created via the Inventory API's can be queried with the Inventory API. Total waste of time.
Just use eBay's Trading API:
http://developer.ebay.com/DevZone/xml/docs/Reference/ebay/index.html
To list an item:
http://developer.ebay.com/DevZone/xml/docs/Reference/ebay/AddItem.html
http://developer.ebay.com/DevZone/xml/docs/Reference/ebay/AddFixedPriceItem.html
To revise an item:
http://developer.ebay.com/DevZone/xml/docs/Reference/ebay/ReviseFixedPriceItem.html
http://developer.ebay.com/DevZone/xml/docs/Reference/ebay/ReviseItem.html
To revise price or quantity of item:
http://developer.ebay.com/DevZone/xml/docs/Reference/ebay/ReviseInventoryStatus.html
Stupid eBay. All the quality engineers must have left to go work for Google or Apple. No support for json - still using tech from the 1990's

Related

Can you list other ebay sellers items with the ebay api?

Is it possible to list items for sale by other eBay sellers using eBay API's (Trading, Browsing)?
I can only seem to list the ones in the environment I create in eBay developer program.
Thanks in advance
You can list items of any user once you get the Auth & Auth token or the oAuth token from the eBayer.
Basically it is the same procedure yoi did to get the token, but the full one, not the simpliefied that you probably used.
In the developer website, in the token area there are instructions

What is full url to POST listings on Flipkart Marketplace Seller APIs?

I am building a smart inventory Android app to post items by scanning barcode to my flipkart seller account.
I generated tokens but every time I call POST on the REST API using
url= 'https://api.flipkart.net/sellers/skus/SKUID/listings'
I am getting
Response:500 internal server error
Can any one help me to list an item on flipkart using API, step by step?
You have to provide SKUID value instead of SKUID in url and also provide access token as a parameter in postman.

How to get all listing details through ebay API?

I'm using ebay API request: "GetSellerListRequest" with option "ReturnAll".
It gives me a bunch of information, but there is missing some, like (Return policy or Shipping policy and a few others).
In other words, how i can pull information from ebay, which later i could automatically post listings to ebay with "AddFixedPriceItemRequest" ?
You can use GetItem call from eBay trading API and set the value of DetailLevel element as RETURN ALL. This would return the data that you want to Return, shipping details etc.

Instagram API doesn't response correct?

If i use this link of the Instagram API i get nothing back:
https://api.instagram.com/v1/locations/1/media/recent?access_token=XXXX
Response:
{"pagination": {}, "meta": {"code": 200}, "data": []}
The documentation says that there are to parameters max_id and min_id, but i'm not sure how to use them.
If i use it like this:
https://api.instagram.com/v1/locations/10/media/recent?access_token=XXXX&min_id=1&max_id=20
I get the same result as above.
Both Location IDs (1 and 10) are correct.
That is cause you are in sandbox mode.
In sandbox mode you will only see your posts(and your approved sandbox users) in API, and total posts in API response is also limited to 20.
If you want to see posts in API response in sandbox mode, then you add a post tagged to a location using Instagram app, and then access that location via API, you will see just your post in API response. Once you get public_content permission and go to live mode, you will see all posts.
Here is more info about sandbox mode: https://www.instagram.com/developer/sandbox/
The behavior of the API when you are in sandbox mode is the same as
when your app is live, but comes with the following restrictions:
Data is restricted to sandbox users and the 20 most recent media from each sandbox user
Reduced API rate limits

How do I get gateway Authcode from Shopify?

Shopify receives and stores information received from the gateway after a payment is made. It can be viewed in the orders page right at the bottom under Order History section. The words "customer successfully paid..." is a hyperlink. That information contains the authcode apart from some other credit card information. I just want the authcode. The webhook does not send this information in the xml data. Can you retrieve this through the API or is this not allowed? Thanks
Any gateway-specific info is provided through the receipt parameter on the Transactions API. If the token you're looking for isn't there, it's not available.
Thanks for your assistance. Apparently Shopify won't provide that information due to PCI compliance reasons. The payment provider that does the credit card processing will only send one response to Shopify and I was hoping I could get them to send me a response as well but that was wishful thinking on my part. The finance team will just have to log into Shopify and see that information if they need it.