Update draft order note
This page was printed on Mar 22, 2023. For the current version, visit https://help.shopify.com/en/manual/shopify-flow/reference/actions/update-draft-order-note.
The Update draft order note action updates the notes on a draft order page for the order that triggers the workflow.
When you create an order from a draft order, the draft order notes are carried over and added as order notes.
The Update draft order note action contains the following fields.
|Note||The note to be applied to the draft order.|
The Update draft order note action has a hidden field added to it by the trigger. This field, Draft order ID, identifies the draft order to update. The draft order ID is set by default and can't be changed.
The Update draft order note action can be used in workflows that start with the following triggers:
In this example workflow, a note is added to all newly created draft orders.
To learn more, review the draftOrderUpdate mutation.