Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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.
Did this end up working for you? I have the exact same issue.