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

[BUG]: digital listings with when_made as "made_to_order" are converted into physical when all their files are removed

Open yovasx2 opened this issue 2 years ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Describe the bug

Removing all the files associated with a digital listing with when_made as "made_to_order" will convert it into a physical listing

Steps to reproduce

  1. Create a digital listing with when_made as 2022...
  2. Attach a file to it
  3. Then hit edit listing endpoint sending when_made (made_to_order, this option does not require a file attached), who_made, is_supply (u need to send the 3 values to have a 200)
  4. Hit get listing endpoint, listing_type is "download"
  5. Then hit remove digital file attached to the listing
  6. Hit get listing endpoint, listing_type is "physical"

Expected behavior

the digital listing must remain digital since the when_made "made_to_order" does not require files attached

Additional context

No response

yovasx2 avatar Apr 25 '22 23:04 yovasx2

@yovasx2 We did some testing to confirm this. You are correct that it's converting the listing to physical when removing the attachment. However, this isn't something we can fix at the moment as applying a change here may affect how other areas of the system. For now, I suggest that after removing the attachment on a digital listing, you fire off a call to updateListing to change the type back to "download". I'll add this to our list of things to deal with but unfortunately it won't be right away.

etsyachristensen avatar Apr 26 '22 16:04 etsyachristensen

any eta to deliver this?

yovasx2 avatar Apr 26 '22 18:04 yovasx2

I have no ETA unfortunately. The fix for this will be up to our fulfillment team and they are currently busy with other projects.

etsyachristensen avatar Apr 28 '22 14:04 etsyachristensen

any update on this?

yovasx2 avatar Sep 21 '22 01:09 yovasx2

We should have a fix out for this very soon.

etsyachristensen avatar Sep 21 '22 20:09 etsyachristensen

@yovasx2 This has been fixed. Please let me know if you run into any more problems with it.

etsyachristensen avatar Sep 22 '22 15:09 etsyachristensen