Remove draft order tags

The Remove draft order tags action removes tags from the draft order that triggers the workflow.

Fields

The Remove draft order tags action contains the following fields.

Fields used in the Remove draft order tags action.
Field Description
Tags The tags to remove from a draft order. Tags are case sensitive. To remove multiple tags, do one of the following:
  • Enter each tag separately by typing the tag, and then pressing the enter key.
  • Enter multiple tags at once by separating them with commas. Whitespace between commas is removed.

    For example, entering tag1,tag2,tag3 and then pressing enter key results in tag1,tag2,tag3 initially displaying in the action. When the action is taken, three separate tags are removed: tag1, tag2, and tag3.

Triggers

The Remove draft order tags action has a hidden field added to it by the trigger. This field, Draft order ID, identifies the draft order to have tags removed. The draft order ID is set by default and can't be changed.

The Remove draft order tags action can be used in workflows that start with the following triggers:

  • Draft order created

Example

Example of a workflow that removes a tag when a draft order is created

In this example workflow, the active tag is removed from all newly created draft orders.

API details

To learn more, review the tagsRemove mutation.

Ready to start selling with Shopify?

Try it free