Magento 2 - allow sending Magento shipment email

0

We prefer that all of our transactional emails come from Magento and have set up Magento so that it sends the customer an email when their order has shipped. However, we recently discovered that customers were not getting this email for orders shipped through ShippingEasy.

 
This is because ShippingEasy uses the following API:
This API receives JSON data in the following format:
{
  "items": [
    {
      "extension_attributes": {},
      "order_item_id": 0,
      "qty": 0
    }
  ],
  "notify": true,
  "appendComment": true,
  "comment": {
    "extension_attributes": {},
    "comment": "string",
    "is_visible_on_front": 0
  },
  "tracks": [
    {
      "extension_attributes": {},
      "track_number": "string",
      "title": "string",
      "carrier_code": "string"
    }
  ],
  "packages": [
    {
      "extension_attributes": {}
    }
  ],
  "arguments": {
    "extension_attributes": {}
  }
}
 
Note the “notify” parameter. When ShippingEasy calls the API its value is false, meaning Magento will not send an email to the customer. We want an option for ShippingEasy to call the API with "notify": true, so that customers receive an email with a tracking number when their order ships.

Add a Comment

Please sign in to leave a comment.