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.

On this page

Fields

The Update draft order note action contains the following fields.

Fields used in the Update draft order note action.
FieldDescription
NoteThe note to be applied to the draft order.

Triggers

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:

Example

Example of a workflow that adds a note to a draft order when it is created

In this example workflow, a note is added to all newly created draft orders.

API details

To learn more, review the draftOrderUpdate mutation.

Ready to start selling with Shopify?Try it free