A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Does anyone know if there is a way to "associate" a staff account to a draft order when creating/sending via the Admin GraphQL api though a custom app.
Currently when passing the email send from it doesn't match it to a registered staff account.
Sincerely
Hi @oliver-city we have checked into this and it appears that might not be possible with the existing Draft Orders API, however we would like to offer to mark this post as a suggested feature to our production team. We did also want to suggest as a possible workaround you can track Users for CommentEvents https://shopify.dev/api/admin-graphql/2022-10/objects/CommentEvent, If you needed to track associated staff with the API it would be possible with this provided they had created a comment in the admin on the draft order. Alternatively you could look at options to use Metafields as well.
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog