POST
/
customers
Header
Body
curl --request POST \
  --url https://eu.sequencehq.com/api/customers \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "address": {
    "country": "GB",
    "line1": "Flat 1",
    "postCode": "AB1 2EF",
    "town": "London"
  },
  "email": "john@example.com",
  "legalName": "John Doe"
}'
{
  "customer": {
    "address": {
      "country": "GB",
      "line1": "Flat 1",
      "line2": "123 Fake Street",
      "postCode": "AB1 2EF",
      "town": "London"
    },
    "billingEmail": "exampleCorpInvoices@example.com",
    "billingEmails": [
      "exampleCorpInvoices@example.com"
    ],
    "contactName": "John Doe",
    "createdAt": "2022-06-28T16:47:00Z",
    "email": "john@example.com",
    "id": "e309e948-088e-4d77-b654-cd85498f1555",
    "label": "Example customer",
    "legalName": "John Doe",
    "linkedServices": [
      {
        "externalId": "ID",
        "externalService": "Xero",
        "syncTime": "2022-06-28T16:47:00Z"
      }
    ],
    "paymentReference": "Example reference",
    "sequenceAccountId": "25b3c342-6fa6-4375-9ed3-616f05abb77a",
    "taxStatus": "TAXED",
    "telephone": "02010001000",
    "url": "https://example.com/"
  }
}

Headers

Authorizationrequired
string

Your API credentials. Eg. Basic {credentials}.

Idempotency-Key
string

Specifying a unique ID for this request here lets you retry it without risk of performing the same operation twice.

Body

application/json
addressrequired
object
billingEmail
string
billingEmails
string[]
contactName
string
customerAliases
string[]
emailrequired
string
label
string
legalNamerequired
string
paymentReference
string
taxStatus
enum<string>
Available options:
TAXED,
TAX_EXEMPT,
REVERSE_CHARGED
telephone
string
url
string

Response

201 - application/json
customerrequired
object