Search code examples
c#jsonapisoapebay-api

ebay json api testing tool not finding sku in calls


I'm playing around with the sandbox api for ebay, but I keep running into errors. So you can use the API test tool here.

Now I have products which are on the sand box my ebay active listings page. But when I use the API testing tool and try to use this call https://api.sandbox.ebay.com/sell/inventory/v1/inventory_item/{SKU} it gives the following error in response body

{ "errors": [ { "errorId": 25710, "domain": "API_INVENTORY", "subdomain": "Selling", "category": "REQUEST", "message": "We didn't find the entity you are requesting. Please verify the request" } ] }

Now I have done some reading and they say as long as I use the inventory tracking method item.InventoryTrackingMethod = InventoryTrackingMethodCodeType.SKU; set to SKU it should work. So I'm not sure why it's not.

There are 3 potential problems I thought might be causing it.

  1. The sandbox API has problems and is buggy(unlikely but possible)
  2. It's something to do with country, but I'm not sure it's this either.
  3. Because I'm adding products using the fixedpriceitem call using SOAP API it's not matching with the JSON API

Has anyone else encountered this problem, and know what might be going on?


Solution

  • Ok so for anyone else who might run into this issue, it seems like the SOAP API and the Inventory API are incompatible.

    I have no way to confirm this exactly but Inventory API JSON calls are correct, but they are returning test products with the SKU I specified in the SOAP API call.

    If anyone else can provide input to confirm this problem or outline exactly what's going on that would be great.

    Cheers