Get Emails sent of Order
GET/order/:guid/emails
Get the Emails that were sent in relation to this Order.
Request
Path Parameters
The guid of the Order.
Responses
- 200
- 404
Emails sent of Order.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The guid of the Email.
Possible values: <= 255 characters
The driver which is used to send the Email.
Possible values: <= 255 characters
The identifier used by the driver to identify the Email.
The guid of the Email Template.
Possible values: <= 255 characters
The identifier of the linked Model.
Possible values: <= 255 characters
The type of the linked Model.
Possible values: <= 255 characters
The email of the receiver to whom the Email is sent to.
Possible values: [queued
, sent
, rejected
, spam
, unsub
, bounced
, soft-bounced
, confirmed
]
The last known status of the Email.
If the status is rejected
, this contains the reason why.
The reason an email is rejected. (See reject_reason
)
The amount of times the Email is opened by the receiver to whom the email was sent to.
The amount of times the receiver to whom the email was sent to clicked on an item within the Email.
The time it was created.
The time it was last updated.
[
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"driver": "string",
"external_id": "string",
"email_id": "string",
"model_guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"model_type": "string",
"email": "user@example.com",
"status": "queued",
"reject_reason": "string",
"opens": 0,
"clicks": 0,
"created_at": "string",
"updated_at": "string"
}
]
Order not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}