[ { "label": "Update draft order's shipping line details", "trigger_type": [ "draft_order_created" ], "object_type": "draft_order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": [], "actions": { "1": { "type": "shopify_api_request", "settings": { "wait": "0", "run_once": 0, "custom_wait": "", "label": "Update shipping cost", "method": "PUT", "path": "draft_orders\/{{ draft_order.id }}", "data": "{\r\n \"draft_order\": {\r\n \"id\": {{ draft_order.id }},\r\n \"shipping_line\": {\r\n \"handle\": \"shopify-Standard%20Shipping-8.00\",\r\n \"price\": 12.00,\r\n \"title\": \"Free Shipping\"\r\n }\r\n }\r\n}", "response_handle": "", "response_object_type": "", "parent_data": "", "workflow_actions": [], "token_object_type": "draft_order" }, "weight": 999, "target_key": "draft_order" } } } }, "shared_workflow_id": 39080 }, "description": "This automation will update the draft order shipping line details everytime a draft order is created." } ]