Draft order deleted

TheDraft order deletedtrigger starts a workflow when a user in your organization or a third-party app deletes adraft order.

Actions

The following actions can be used in workflows that start with theDraft order deletedtrigger.

Example

Example of a workflow that sends an email when a draft order is deleted

In this example workflow, an email is sent when a draft order is deleted.

Testing the Draft order deleted trigger

To test a workflow that starts with this trigger,delete a draft order.

API details

TheDraft order deletedtrigger allows actions to be taken with theDraftOrder Graphql API object.

Deleted objects are not available in the API. The draft order ID is the only detail you can get when a draft order is deleted. Other details are not available.

Ready to start selling with Shopify?

Try it free