I’m trying to update a release on my wantlist through the API as documented here. Setting a rating or some notes (or both at a time) seems to work just fine, but I haven’t been able to remove either of them.
I know these can be unset because the webpage allows me to do so, and the docs even mention how to clear a rating: “’s rating of this release, from 0 (unrated) to 5 (best). Defaults to 0.”, yet this doesn’t seem to work for me.
I’ve tried setting the rating to 0, null or just omitting the field from the payload, and all 3 seem to be ignored. Neither has “” (empty string) or null worked for clearing the notes.
For methods, I’ve tried using POST, PATCH and PUT. POST and PATCH seem to work fine for regular updates, but PUT doesn’t seem to work at all for me.
Any tips on what I could be doing wrong, or if someone can confirm if this functionality at least works for them or doesn’t, I’d be very grateful.
Clearing the rating for a release via the API has been missing for a long time. Never seen any explanation, but I can that those of us who have tried have had the same lack of success as you.
The same goes for custom fields (stored under "notes" in the JSON) that have a value list attached, such as Collection Media Condition and Collection Sleeve Condition: https://www.discogs.sie.com/forum/thread/1042624