Dear Community,
Its possible to call the “Send invoice” button in order page with REST API?
Thanks.
Main issue: How to trigger the “Send invoice” action for an order via API.
What’s confirmed: An API call exists to send invoices for draft orders only.
Clarification: The request is for regular (non-draft) orders, not drafts.
Open question: Another participant asks Shopify API support to confirm whether there is any API to send an invoice for orders that are already paid (payment captured and marked as paid).
Status: No provided endpoint or confirmation for sending invoices on normal, paid orders. The thread remains unresolved on this point.
Notes:
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 ?