I'm trying to add a couple custom attributes to Orders, e.g. whether the order is "rush" or not. Ideally this attribute would be visible in /admin/orders, but doesn't seem like there's a way to do this. I don't totally understand why to use note_attributes vs. metafields, so I have arbitrarily been trying the former because they show up in the admin single Order view.
I swear I was able to save note_attributes for a while via the API, but now I can't get them to save no matter what. I've tried adding them during Order creation and via an update, as a proper JSON array and as stringified JSON. Wrote up all these test cases via the gem here (with data obfuscated a bit):
https://gist.github.com/afeld/10596298
Also checked that the attribute is coming through the request as I expect via Charles. A bit baffled as to why the attribute isn't being saved. Help!