Order status changed via api, but mail not sent

Hi,

I’m wondering how to make use of snipcarts emails when changing order status via api. I’m getting the changes to order status done, but I do not trigger any emails. On the backend it says the same.

So how do I get the email that the order has been dispatched to go out, when I change the order status to shipped?

Thanks in advance :slight_smile:

Hi @KristianWR,

Sorry for the wait here!

To trigger an email to the customer, you’ll need to sent an additional POST call to our notification API.

In this case, you’ll want to use the OrderStatusChanged type.

Let me know if that helps,

Cheers!