Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hi I am wanting to create a flow to automatically add a flat rate shipping price of $9.99 to all draft orders created please
You might be able to do this with a workflow that starts with a Draft order created trigger followed by a Send Admin API request action that uses a draftOrderUpdate mutation to update the shipping
Thank you so much, I am having a look now and the code is a bit confusing to me. I have pasted it below which bit should I update to make all draft shipping orders have $9.99.
{
"id": "",
"shippingLine": {
"price": {
"amount": "",
"currencyCode": ""
},
"title": ""
}
}
{
"id": "{{draftOrder.id}}",
"shippingLine": {
"price": {
"amount": "9.99",
"currencyCode": "AUD"
},
"title": "Standard"
}
}
This is what I have at the moment and getting the error:
Try logging out the values so you can see what details are getting passed into the action.
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025