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-send-invoice
GraphQL: https://shopify.dev/api/admin-graphql/2021-04/mutations/draftorderinvoicesend
Hope this helps!
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 ?