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:
- Draft order created
In this example workflow, a note is added to all newly created draft orders.
To learn more, review the draftOrderUpdate mutation.