Create Purchaser

Creates a purchaser record.

Request

POST /v4/organisations/:trkref/purchasers

JSON body

email customer email (mandatory)
title customer title
first_name customer first name
surname customer surname
country customer country by ISO3166 alpha2 code
postcode customer postcode

Response

title customer title
first_name customer first name
surname customer surname
country customer country by ISO3166 alpha2 code
postcode customer postcode
created_at date and time when of record creation

Example

Request:

POST /v4/organisations/ACME/purchasers

{
    "email": "jane@example.com",
    "title": "Ms",
    "first_name": "Jane",
    "country": "UK"
}

Response:

{
  "title": "Ms",
  "first_name": "Jane",
  "surname": null,
  "country": "UK",
  "postcode": nil,
  "created_at": "2014-10-15T13:27:25Z"
}