- Explore demo
- Speak to an expert
- Changelog
- Blog
Usage
Customers
Billing
Notifications & Webhooks
Product
Invoices
Taxes
Account
Version 2024-01-01
Latest API
All API versions
Update customer
Update the details of one of your Customers.
Customer ID
Legal name
Contact Name
Address
Address line 1
Address line 2
Town or city
State (required for USA only)
Postal code
Country code (ISO 3166-1 alpha-2)
Billing email addresses
Telephone
URL
Label
IDs in external integrations
Tax status applicable to customer. Can be one of TAXED, EXEMPT or REVERSE_CHARGED. The default is TAXED.
Customer aliases.
curl --request PUT \
--url https://eu.sequencehq.com/api/customers/{id} \
--header 'Content-Type: application/json' \
--data '{
"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/",
"label": "Example customer",
"externalIds": [
{
"key": "Xero",
"value": "123456789"
},
{
"key": "Stripe",
"value": "cus_OCtCxqQDgu1uX9"
},
{
"key": "HubSpot",
"value": "123456789"
}
],
"taxStatus": "TAXED",
"customerAliases": [
"b1c87177-088a-40ec-8917-9809343f3f9c"
]
}'
{
"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"
}
Path Parameters
Customer ID
Body
Legal name
Contact Name
Address
Address line 1
Address line 2
Town or city
State (required for USA only)
AL
, AK
, AZ
, AR
, CA
, CO
, CT
, DC
, DE
, FL
, GA
, HI
, ID
, IL
, IN
, IA
, KS
, KY
, LA
, ME
, MD
, MA
, MI
, MN
, MS
, MO
, MT
, NE
, NV
, NH
, NJ
, NM
, NY
, NC
, ND
, OH
, OK
, OR
, PA
, RI
, SC
, SD
, TN
, TX
, UT
, VT
, VA
, WA
, WV
, WI
, WY
, AB
, BC
, MB
, NB
, NL
, NS
, ON
, PE
, QC
, SK
Postal code
Country code (ISO 3166-1 alpha-2)
AD
, AE
, AF
, AG
, AI
, AL
, AM
, AO
, AQ
, AR
, AS
, AT
, AU
, AW
, AX
, AZ
, BA
, BB
, BD
, BE
, BF
, BG
, BH
, BI
, BJ
, BL
, BM
, BN
, BO
, BQ
, BR
, BS
, BT
, BV
, BW
, BY
, BZ
, CA
, CC
, CD
, CF
, CG
, CH
, CI
, CK
, CL
, CM
, CN
, CO
, CR
, CU
, CV
, CW
, CX
, CY
, CZ
, DE
, DJ
, DK
, DM
, DO
, DZ
, EC
, EE
, EG
, EH
, ER
, ES
, ET
, FI
, FJ
, FK
, FM
, FO
, FR
, GA
, GB
, GD
, GE
, GF
, GG
, GH
, GI
, GL
, GM
, GN
, GP
, GQ
, GR
, GS
, GT
, GU
, GW
, GY
, HK
, HM
, HN
, HR
, HT
, HU
, ID
, IE
, IL
, IM
, IN
, IO
, IQ
, IR
, IS
, IT
, JE
, JM
, JO
, JP
, KE
, KG
, KH
, KI
, KM
, KN
, KP
, KR
, KW
, KY
, KZ
, LA
, LB
, LC
, LI
, LK
, LR
, LS
, LT
, LU
, LV
, LY
, MA
, MC
, MD
, ME
, MF
, MG
, MH
, MK
, ML
, MM
, MN
, MO
, MP
, MQ
, MR
, MS
, MT
, MU
, MV
, MW
, MX
, MY
, MZ
, NA
, NC
, NE
, NF
, NG
, NI
, NL
, NO
, NP
, NR
, NU
, NZ
, OM
, PA
, PE
, PF
, PG
, PH
, PK
, PL
, PM
, PN
, PR
, PS
, PT
, PW
, PY
, QA
, RE
, RO
, RS
, RU
, RW
, SA
, SB
, SC
, SD
, SE
, SG
, SH
, SI
, SJ
, SK
, SL
, SM
, SN
, SO
, SR
, SS
, ST
, SV
, SX
, SY
, SZ
, TC
, TD
, TF
, TG
, TH
, TJ
, TK
, TL
, TM
, TN
, TO
, TR
, TT
, TV
, TW
, TZ
, UA
, UG
, UM
, US
, UY
, UZ
, VA
, VC
, VE
, VG
, VI
, VN
, VU
, WF
, WS
, XK
, YE
, YT
, ZA
, ZM
, ZW
Billing email addresses
Telephone
URL
Label
IDs in external integrations
Amazon_Redshift
, Google_BigQuery
, Google_Sheets
, HubSpot
, NetSuite
, QuickBooks_Online
, Salesforce
, Slack
, Snowflake
, Stripe
, Xero
Tax status applicable to customer. Can be one of TAXED, EXEMPT or REVERSE_CHARGED. The default is TAXED.
TAXED
, TAX_EXEMPT
, REVERSE_CHARGED
Customer aliases.
Response
Unique ID
Created at
SequenceHQ Account ID
Legal name
Contact Name
Address
Address line 1
Address line 2
Town or city
State (required for USA only)
AL
, AK
, AZ
, AR
, CA
, CO
, CT
, DC
, DE
, FL
, GA
, HI
, ID
, IL
, IN
, IA
, KS
, KY
, LA
, ME
, MD
, MA
, MI
, MN
, MS
, MO
, MT
, NE
, NV
, NH
, NJ
, NM
, NY
, NC
, ND
, OH
, OK
, OR
, PA
, RI
, SC
, SD
, TN
, TX
, UT
, VT
, VA
, WA
, WV
, WI
, WY
, AB
, BC
, MB
, NB
, NL
, NS
, ON
, PE
, QC
, SK
Postal code
Country code (ISO 3166-1 alpha-2)
AD
, AE
, AF
, AG
, AI
, AL
, AM
, AO
, AQ
, AR
, AS
, AT
, AU
, AW
, AX
, AZ
, BA
, BB
, BD
, BE
, BF
, BG
, BH
, BI
, BJ
, BL
, BM
, BN
, BO
, BQ
, BR
, BS
, BT
, BV
, BW
, BY
, BZ
, CA
, CC
, CD
, CF
, CG
, CH
, CI
, CK
, CL
, CM
, CN
, CO
, CR
, CU
, CV
, CW
, CX
, CY
, CZ
, DE
, DJ
, DK
, DM
, DO
, DZ
, EC
, EE
, EG
, EH
, ER
, ES
, ET
, FI
, FJ
, FK
, FM
, FO
, FR
, GA
, GB
, GD
, GE
, GF
, GG
, GH
, GI
, GL
, GM
, GN
, GP
, GQ
, GR
, GS
, GT
, GU
, GW
, GY
, HK
, HM
, HN
, HR
, HT
, HU
, ID
, IE
, IL
, IM
, IN
, IO
, IQ
, IR
, IS
, IT
, JE
, JM
, JO
, JP
, KE
, KG
, KH
, KI
, KM
, KN
, KP
, KR
, KW
, KY
, KZ
, LA
, LB
, LC
, LI
, LK
, LR
, LS
, LT
, LU
, LV
, LY
, MA
, MC
, MD
, ME
, MF
, MG
, MH
, MK
, ML
, MM
, MN
, MO
, MP
, MQ
, MR
, MS
, MT
, MU
, MV
, MW
, MX
, MY
, MZ
, NA
, NC
, NE
, NF
, NG
, NI
, NL
, NO
, NP
, NR
, NU
, NZ
, OM
, PA
, PE
, PF
, PG
, PH
, PK
, PL
, PM
, PN
, PR
, PS
, PT
, PW
, PY
, QA
, RE
, RO
, RS
, RU
, RW
, SA
, SB
, SC
, SD
, SE
, SG
, SH
, SI
, SJ
, SK
, SL
, SM
, SN
, SO
, SR
, SS
, ST
, SV
, SX
, SY
, SZ
, TC
, TD
, TF
, TG
, TH
, TJ
, TK
, TL
, TM
, TN
, TO
, TR
, TT
, TV
, TW
, TZ
, UA
, UG
, UM
, US
, UY
, UZ
, VA
, VC
, VE
, VG
, VI
, VN
, VU
, WF
, WS
, XK
, YE
, YT
, ZA
, ZM
, ZW
Main contact email address
Billing email addresses
Telephone
URL
Tax status applicable to customer. Can be one of TAXED, EXEMPT or REVERSE_CHARGED. The default is TAXED.
TAXED
, TAX_EXEMPT
, REVERSE_CHARGED
Label
External services which are linked to this customer
The connected service
Amazon_Redshift
, Google_BigQuery
, Google_Sheets
, HubSpot
, NetSuite
, QuickBooks_Online
, Salesforce
, Slack
, Snowflake
, Stripe
, Xero
The ID of the related entity in external system
The time that this was synced from the connected integration
Date and time the Customer was archived
curl --request PUT \
--url https://eu.sequencehq.com/api/customers/{id} \
--header 'Content-Type: application/json' \
--data '{
"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/",
"label": "Example customer",
"externalIds": [
{
"key": "Xero",
"value": "123456789"
},
{
"key": "Stripe",
"value": "cus_OCtCxqQDgu1uX9"
},
{
"key": "HubSpot",
"value": "123456789"
}
],
"taxStatus": "TAXED",
"customerAliases": [
"b1c87177-088a-40ec-8917-9809343f3f9c"
]
}'
{
"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"
}