question

lubefinder avatar image
0 Likes"
lubefinder asked

Deleting Inventory Item SKU="null"

Anyone know if it is possible to delete an SKU that has the value "null"

getInventoryItems shows I have one called "null"

    {
      "sku": "null",
      "condition": "NEW"
    }

but deleteInventoryItem gives me

https://api.sandbox.ebay.com/sell/inventory/v1/inventory_item/null

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


inventoryapi
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.

sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered

Hi @lubefinder ,


I just added an inventory item with SKU that has the value "null" and and then tried to delete and was able to delete.

Can you please execute getInventoryItem call and pass "null" in sku and make sure that you have inventory item in your sandbox with sku value "null".

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.

lubefinder avatar image
0 Likes"
lubefinder answered

It appeared when I tried to do a bulkMigrateListing which failed with error 25001, the same way all publishOffer calls are failing so presume its something leftover from that failure.

See below for tests

GET https://api.sandbox.ebay.com/sell/inventory/v1/inventory_item?limit=1&offset=95

rlogid:t6pitnmsgwj%28ciuoopu0asu%60pkal%3C%3Dosutowoiudvn.u%7E%3E7n%2Bsfvu7371-175e27a2b24-0x55f9

Response Body

{
  "total": 96,
  "size": 1,
  "href": "/sell/inventory/v1/inventory_item?offset=95&limit=1",
  "prev": "/sell/inventory/v1/inventory_item?offset=94&limit=1",
  "limit": 1,
  "inventoryItems": [
    {
      "sku": "null",
      "condition": "NEW"
    }
  ]
}

GET https://api.sandbox.ebay.com/sell/inventory/v1/inventory_item/null

rlogid:t6pitnmsgwj%28ciuoopu0asu%60pkal%3C%3Dosutowoiudvn.ovu%7Bs%2Bsfvu7371-175e27a78c0-0x58a5

Response Body

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

DELETE https://api.sandbox.ebay.com/sell/inventory/v1/inventory_item/null

rlogid:t6pitnmsgwj%28ciuoopu0asu%60pkal%3C%3Dosutowoiudvn.u%7E%3E7n%2Bsfvu7371-175e279b823-0x5a05

Response Body

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


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.

silaska-72 avatar image
0 Likes"
silaska-72 answered

So on lunar sale I bought DBD, as it wasn't running properly for me I refunded it. When I 1st opened the game it came with 12 items that aren't tradable or marketable, when I got the refund back and no longer owned the game the items still were in my inventory so 1st thing I did was to try and contact steam support to delete items, but then I found they can't delete items and I had to contact DBD support to delete them and I did. Skip 10 days later and they finally respond to me and they say they aren't able to remove items, what the hell is going on? Is really no one able to delete items or they just can't be bothered, I kinda don't dig that Steam support and DBD support aren't able to delete items Toys r us credit card

Anyone has a idea how I can get those items deleted?

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.