Orders

Retrieve an order email

Retrieve the full rendered email message — including its HTML body — that was sent for an order. To get just the summary metadata for every email on the order, use List the emails sent for an order instead.

get/shop/orders/{orderId}/emails/{emailId}

Response

The email message was successfully retrieved.

Example response

{
  "data": {
    "from": "bookings@example-spa.com",
    "to": [
      "jane.doe@example.com"
    ],
    "subject": "Your booking is confirmed",
    "email_type": "BookingConfirmation",
    "html": "<html><body><p>Hi Jane, your booking on Saturday is confirmed.</p></body></html>\n"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.