open-api icon indicating copy to clipboard operation
open-api copied to clipboard

[BUG]: Getting error image id 3631744977 is invalid while updating price/inventory using updateListingInventory API call

Open Deepshikha-cedcoss opened this issue 3 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Describe the bug

Hello @etsyachristensen

When the images are assigned to the listing as well as the image in the listing images for variant image linking. and later, deletes some of the images from the listing then how we can delete them from the variant linking option because the images that have been deleted are still existing so the "image id is invalid" error getting.

Image id existing which has been deleted on this getListingVariationImages call image

but image id not existing getListing endpoint call with Images association image

So, How we can unlink the image linking option for listing using the API endpoint?

Steps to reproduce

  1. Upload the listing images using this uploadListingImage endpoint
  2. And then, creates variation images on a listing using this updateVariationImages
  3. delete some of the images which were assigned to the listing variant using this deleteListingImage
  4. but, the data of the imaged id which has been deleted is still existing on this getListingVariationImages endpoint call

Expected behavior

I think Etsy should give an API call to delete the image at the variant level. there are only two API calls right now (getListingVariationImages, updateVariationImages).

Additional context

shop_id= 23032173 listing_id = [1034230543 , 1027957152]

@etsyachristensen you can this bug for these listing ids. thanks

Deepshikha-cedcoss avatar Aug 20 '22 13:08 Deepshikha-cedcoss