A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Dear Community,
Its possible to call the "Send invoice" button in order page with REST API?
Thanks.
Hi @spearox
Yes, there's an endpoint for this in both the REST and GraphQL APIs:
REST: https://shopify.dev/api/admin-rest/2022-01/resources/draftorder#post-draft-orders-draft-order-id-sen...
GraphQL: https://shopify.dev/api/admin-graphql/2021-04/mutations/draftorderinvoicesend
Hope this helps!
To learn more visit the Shopify Help Center or the Community Blog.
I look for normal orders not for drafts.
Can someone from the API Support confirm that there is no provision to send invoice for Orders that have already captured the payment and marked as paid ?