DELETE
/
customers
/
{id}
curl --request DELETE \
  --url https://eu.sequencehq.com/api/customers/{id} \
  --header 'Authorization: <authorization>'
{
  "address": {
    "country": "GB",
    "line1": "Flat 1",
    "line2": "123 Fake Street",
    "postcode": "AB1 2EF",
    "town": "London"
  },
  "archivedAt": "2022-06-28T16:47:00Z",
  "billingEmails": [
    "exampleCorpInvoices@example.com"
  ],
  "contactName": "John Doe",
  "createdAt": "2022-06-28T16:47:00Z",
  "email": "john@example.com",
  "externalIds": [
    {
      "key": "Xero",
      "syncTime": "2022-06-28T16:47:00Z",
      "value": "ID"
    },
    {
      "key": "Stripe",
      "syncTime": "2022-06-28T16:47:00Z",
      "value": "cus_OCtCxqQDgu1uX9"
    }
  ],
  "id": "e309e948-088e-4d77-b654-cd85498f1555",
  "label": "Example customer",
  "legalName": "John Doe",
  "sequenceAccountId": "25b3c342-6fa6-4375-9ed3-616f05abb77a",
  "taxStatus": "TAXED",
  "telephone": "02010001000",
  "url": "https://example.com/"
}

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Path Parameters

id
string
required

Customer ID

Response

200 - application/json
address
object
required
archivedAt
string

Date and time the Customer was archived

billingEmails
string[]
required

Billing email addresses

contactName
string

Contact Name

createdAt
string
required

Created at

email
string
required

Main contact email address

externalIds
object[]
required

External services which are linked to this customer

id
string
required

Unique ID

label
string

Label

legalName
string
required

Legal name

sequenceAccountId
string
required

SequenceHQ Account ID

taxStatus
enum<string>
required
Available options:
TAXED,
TAX_EXEMPT,
REVERSE_CHARGED
telephone
string

Telephone

url
string

URL