I’m trying to make some automation from Shopify to Monday to keep track of Draft orders in Shopify. However, I can’t seem to get “Find Order” to work for Draft Orders. If I use “Get Order ID”, then I can pull up a draft order, but I don’t get any of the properties. When I use “Find Order”, I can pull up the normal orders, but it won’t pull up the Draft Order. Any suggestions?
Hi
Maybe try using the Raw Query in Find Order
Follow the guidance of the field description for how to properly format.
e.g. the variable looks like it needs to be enclosed in double quotes “
Thanks for the help
Reference the link in the field description.
https://shopify.dev/docs/api/admin-graphql/2024-04/queries/orders#argument-query
status:”draft”
Shopify API
Search Draft Order by ID
- API Request
- Custom Action (with the help of AI)
?status=draft
curl -X GET "https://{store-name}.myshopify.com/admin/api/2023-01/draft_orders.json?status=draft" \
-H "Content-Type: application/json" \
-H "X-Shopify-Access-Token: {access-token}"
Get DraftOrder by ID
https://shopify.dev/docs/api/admin-graphql/2024-04/queries/draftOrder
You may need to specify which data points to return for the Shopify Order.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.