POST /identifiersΒΆ
Create a new consumer identifier.
Body parameters:
Name |
Type |
Description |
---|---|---|
|
string, optional |
consumer identifier |
|
jsonschema, optional |
properties |
Example request:
POST /identifiers HTTP/1.1
Host: api.ereceipts.co.uk
Content-Length: 160
Content-Type: application/json
{
"identifier": "90000000001",
"properties": {
"email": "john.smith@example.com",
"name": {
"first": "John",
"last": "Smith"
}
}
}
Example response:
HTTP/1.1 201 Created
Content-Length: 29
Content-Type: application/json; charset=UTF-8
Location: https://api.ereceipts.co.uk/identifiers/90000000001
{"identifier": "90000000001"}