Add support for system vs user-created private order notes #206
Labels
needs: api support v3
Waiting for an API change in v3 before it can move forward.
type: enhancement
A request for an enhancement.
Projects
Milestone
When the V3 Woo API is rolled out, notes returned from the
/wc/v3/orders/$orderId/notes/
endpoint will have a newauthor
field, which is either a username on the site, or"system"
. This will allow us to style system vs user-created notes differently in the list.We'll also be able set
added_by_user = true
(default isfalse
) when creating a new note, which will mark the created note as being site user-created rather than system-generated.added_by_user == false
corresponds toauthor = "system"
in the note returned from the server.Relevant class in the V3 dev API: link
iOS counterpart: woocommerce/woocommerce-ios#55
The text was updated successfully, but these errors were encountered: