POST /emailΒΆ

Send an e-mail receipt.

This resource is deprecated. Please use POST /receipts/_send instead.

The receipt referenced using the id or transaction_id must exist.

Body parameters:

Name

Type

Description

id

string, optional, mutually exclusive with transaction_id, required if transaction_id not set

the unique receipt identifier

transaction_id

string, optional, mutually exclusive with id, required if id not set

retailer-specific transaction identifier

email_address

string, optional

recipient email address - takes precedence over the email address found on the receipt

Example request:

POST /email HTTP/1.1
Host: api.ereceipts.co.uk
Accept: application/json
Content-Length: 80
Content-Type: application/json

{
  "id": "513e2391ee5e525ff9000000",
  "email_address": "example@example.com"
}

Example response:

HTTP/1.1 204 No Content