It looks like filtering by status=any in the DraftOrder API stopped working around August 1. I didn’t see this change mentioned in the Developer Changelog.
According to this page, the default status is supposed to be open but not passing in a status actually returns everything.
So, on our side we can push an update to just not pass in a status but I’m still curious why status=any stopped working all of a sudden and I’m worried the default status would change to open later as that’s what’s documented.
Anyone knows if this is a known bug or an intentional change and what’s recommended way to retrieve all draft orders?
It almost looks like the documentation for ‘status’ was copied from older order docs. This isn’t a known bug at the moment but I don’t think it was an intentional change either, I know there was some work going on with relation to the new cursor-based pagination that resources are switching over to during this timeframe and wonder if that might have inadvertently caused this.
I’ll check with our team here and get back to you! In the meantime it seems like not passing a status at all returns all draft orders, but without more details on what caused this and if it was intended I don’t want to suggest doing this as a permanent change.
We’ll wait for your confirmation on whether not passing in status to get all draft orders is a safe assumption before making it a permanent change on our side.