Create Shopify Draft Orders using Celigo
I was researching information about creating draft orders in Shopify using Celigo but I haven't seen any articles or community chatter about it. Nor are there existing templates for this type of flow. I've reviewed the Shopify's API documentation and devising a plan on how to accomplish this with a Celigo flow. Has anyone done this? Can this be accomplished in a low-code manner or is it totally custom? Are there any resources you can share? For context, these draft orders will be created from data written to a Google sheet which is populated by an online form filled out by the customer.
0
Comments
Hi Chris Huovinen,
Using the Shopify connector in integrator.io you can create an import step to the "Orders : DraftOrder" API and select the operation "Create a draft order".
For the mapping, you can follow Shopify's REST API reference for this endpoint: https://shopify.dev/docs/api/admin-rest/2023-07/resources/draftorder
Let me know if you have any more questions about this. Here's a screenshot of how this setup can look in IO:
Chris Huovinen It probably would not make much of a difference for your situation but I thought it would be worth pointing out for anyone coming across this thread that you can also accomplish this with a GraphQL connection (https://shopify.dev/docs/api/admin-graphql/2024-04/mutations/draftOrderCreate), which would allow a little more fine-grained control over the import.
Thank you both for your responses. I was at the point that Yonton suggested already. I was more stumped on the actual mapping of fields but I did see they were auto-populated from the Shopify side so it was indeed the low-code approach I was searching for. After a little work, I was able to create a simple draft order in our Shopify dev store. I'm happy to share if anyone else is interested or needs visual guidance.
Please sign in to leave a comment.