Order Cancellation email not displaying email body when order is cancelled via GraphQL API

Highlighted
New Member
2 0 0

Hey Everyone -

Thanks in advance for your help. My customers are not getting the  email body portion of Order cancellation email.  When I cancel the order manually via Shopify Admin the message shows up in the template but when i cancel the order via  API; the message body is empty. Attached some pictures  for reference. 

 

PS Also attached template code 

Screen Shot 2020-08-03 at 11.57.04 AM.png

 

Here is the payload I send with the request:

 

{

"reason": "inventory",

"email": true

}

 

 

 

 

Cancelled via AdminCancelled via AdminCancelled via APICancelled via APIshows up.

0 Likes