Archive free orders on fulfillment with Mechanic.

Mechanic is the one-tool-does-it-all automation app for Shopify. :)

Archive free orders on fulfillment

by Isaac Bowen (team@usemechanic.com)

Does what it says on the tin. :) Any order with a total price of 0.00 will be archived/closed, immediately upon order fulfillment.

Runs when an order is fulfilled.

15-day free trial – unlimited tasks

Developer details

Events
when an order is fulfilled (shopify/orders/fulfilled)
Options
Script
{% if event.preview or order.total_price == "0.00" %}
  {
    "action": {
      "type": "shopify",
      "options": [
        "post",
        "/admin/orders/{{ order.id }}/close.json",
        {}
      ]
    }
  }
{% endif %}
Yep, that’s just Liquid! If this is interesting to you, check out our documentation! Mechanic is hugely developer-friendly. :)