Implement the order completion API endpoint on your confirmation page to trigger immediate order confirmation email sending. This endpoint marks the order as completed and ensures autoresponder emails are sent without delay.
How to Remove Order Confirmation Email Delays
-
On your final confirmation or thank you page, call the order completion endpoint:
POST /api/v2/open/complete/{orderid}Replace
{orderid}with the integer Order ID from the original sale transaction. -
Handle the API response accordingly:
Success: Order marked as completed and autoresponder emails triggered.
Error:
"Order is already completed"if the endpoint was already called for this order.