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

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Path Parameters

id
string
required

Customer ID

Response

200 - application/json
id
string
required

Unique ID

createdAt
string
required

Created at

sequenceAccountId
string
required

SequenceHQ Account ID

legalName
string
required

Legal name

contactName
string

Contact Name

address
object
required

Address

email
string
required

Main contact email address

billingEmails
string[]
required

Billing email addresses

telephone
string

Telephone

url
string

URL

taxStatus
enum<string>
required

Tax status applicable to customer. Can be one of TAXED, EXEMPT or REVERSE_CHARGED. The default is TAXED.

Available options:
TAXED,
TAX_EXEMPT,
REVERSE_CHARGED
label
string

Label

externalIds
object[]
required

External services which are linked to this customer

archivedAt
string

Date and time the Customer was archived