POST
/
customers
/
{customer}
/
contacts
/
{id}
/
archive
curl --request POST \
  --url https://eu.sequencehq.com/api/customers/{customer}/contacts/{id}/archive \
  --header 'Authorization: <authorization>'
{
  "id": "9a1e38a9-4dc9-776f-f974-4e7ee9f4d6cc",
  "name": "John Smith",
  "email": "john.smith@example.com",
  "billingPreference": "NONE",
  "createdAt": "2022-06-28T16:47:00Z",
  "updatedAt": "2022-06-28T16:47:00Z",
  "archivedAt": "2023-06-28T16:47:00Z"
}

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Sequence-Version
enum<string>

Use this header to select an API version

Available options:
2024-07-30

Path Parameters

customer
string
required

The Customer ID

id
string
required

Unique ID

Response

200
application/json
OK
id
string
required

Unique ID

Example:

"9a1e38a9-4dc9-776f-f974-4e7ee9f4d6cc"

name
string
required

Full name of this contact

Example:

"John Smith"

email
string
required

Email address of this contact

Example:

"john.smith@example.com"

billingPreference
enum<string>
required

Billing preference. Whether this contact receives billing communications. Options are NONE, STANDARD or PRIMARY. For a given customer, if any contacts receive billing communications then at least one contact must be designated PRIMARY for billing.

Available options:
PRIMARY,
STANDARD,
NONE
Example:

"NONE"

createdAt
string
required

Time of creation. Formatted as an ISO 8601 timestamp.

Example:

"2022-06-28T16:47:00Z"

updatedAt
string
required

Time of last update. Formatted as an ISO 8601 timestamp.

Example:

"2022-06-28T16:47:00Z"

archivedAt
string

Time of archive. Formatted as an ISO 8601 timestamp.

Example:

"2023-06-28T16:47:00Z"