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 |
---|---|---|
|
string, optional, mutually exclusive with |
the unique receipt identifier |
|
string, optional, mutually exclusive with |
retailer-specific transaction identifier |
|
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