Create a new contact
Create a contact
Headers
Your API credentials. Eg. Basic {credentials}.
Use this header to select an API version
2024-07-30 Path Parameters
The Customer ID
Body
Full name of this contact
"John Smith"
Email address of this contact
"john.smith@example.com"
Deprecated: use purposes and notificationSubscriptions, which take precedence when sent. 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.
PRIMARY, STANDARD, NONE "PRIMARY"
The roles this contact fills for the customer: BILLING, SHIPPING, both, or none. A customer has exactly one billing contact and at most one shipping contact; giving a contact a purpose removes it from the contact that held it. Send together with notificationSubscriptions.
BILLING, SHIPPING The Sequence emails this contact receives. BILLING covers invoices, credit notes and payment reminders. The billing contact must be subscribed to BILLING. Send together with purposes.
BILLING Response
Created
Unique ID
"9a1e38a9-4dc9-776f-f974-4e7ee9f4d6cc"
Full name of this contact
"John Smith"
Email address of this contact
"john.smith@example.com"
Deprecated: use purposes and notificationSubscriptions. PRIMARY for the billing contact, STANDARD for a contact subscribed to BILLING notifications that is not the billing contact, NONE otherwise.
PRIMARY, STANDARD, NONE "PRIMARY"
The roles this contact fills for the customer: BILLING, SHIPPING, both, or none. A customer has exactly one billing contact and at most one shipping contact; giving a contact a purpose removes it from the contact that held it.
BILLING, SHIPPING The Sequence emails this contact receives. BILLING covers invoices, credit notes and payment reminders. The billing contact must be subscribed to BILLING.
BILLING Time of creation. Formatted as an ISO 8601 timestamp.
"2022-06-28T16:47:00Z"
Time of last update. Formatted as an ISO 8601 timestamp.
"2022-06-28T16:47:00Z"
Time of archive. Formatted as an ISO 8601 timestamp.
"2023-06-28T16:47:00Z"