Update a customer
Changed onUpdates an existing customer.
Request
- Base URLhttps://api.conductor.is/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The QuickBooks-assigned unique identifier of the customer to update.
Headers
The ID of the End-User to receive this request.
Request body
Example request
{
"revisionNumber": "1721172183",
"name": "Website Redesign Project",
"isActive": true,
"classId": "80000001-1234567890",
"parentId": "80000001-1234567890",
"companyName": "Acme Corporation",
"salutation": "Dr.",
"firstName": "John",
"middleName": "A.",
"lastName": "Doe",
"jobTitle": "Purchasing Manager",
"billingAddress": {
"line1": "Conductor Labs Inc.",
"line2": "540 Market St.",
"line3": "Suite 100",
"city": "San Francisco",
"state": "CA",
"postalCode": "94110",
"country": "United States",
"note": "Conductor HQ"
},
"shippingAddress": {
"line1": "Conductor Labs Inc.",
"line2": "540 Market St.",
"line3": "Suite 100",
"city": "San Francisco",
"state": "CA",
"postalCode": "94110",
"country": "United States",
"note": "Conductor HQ"
},
"alternateShippingAddresses": [
{
"name": "Alternate shipping address",
"line1": "Conductor Labs Inc.",
"line2": "540 Market St.",
"line3": "Suite 100",
"city": "San Francisco",
"state": "CA",
"postalCode": "94110",
"country": "United States",
"note": "Conductor HQ",
"isDefaultShippingAddress": true
}
],
"phone": "+1-555-123-4567",
"alternatePhone": "+1-555-987-6543",
"fax": "+1-555-555-1212",
"email": "customer@example.com",
"ccEmail": "manager@example.com",
"contact": "Jane Smith",
"alternateContact": "Bob Johnson",
"customContactFields": [
{
"name": "Main Phone",
"value": "555-123-4567"
}
],
"additionalContacts": [
{
"id": "80000001-1234567890",
"revisionNumber": "1721172183",
"salutation": "Dr.",
"firstName": "John",
"middleName": "A.",
"lastName": "Doe",
"jobTitle": "Purchasing Manager",
"customContactFields": [
{
"name": "Main Phone",
"value": "555-123-4567"
}
]
}
],
"customerTypeId": "80000001-1234567890",
"termsId": "80000001-1234567890",
"salesRepresentativeId": "80000001-1234567890",
"salesTaxCodeId": "80000001-1234567890",
"salesTaxItemId": "80000001-1234567890",
"salesTaxCountry": "us",
"resaleNumber": "123456789",
"accountNumber": "1010",
"creditLimit": "5000.00",
"preferredPaymentMethodId": "80000001-1234567890",
"creditCard": {
"number": "xxxxxxxxxxxx1234",
"expirationMonth": 12,
"expirationYear": 2024,
"name": "John Doe",
"address": "1234 Main St, Anytown, USA, 12345",
"postalCode": "12345"
},
"jobStatus": "in_progress",
"jobStartDate": "2024-01-15",
"jobProjectedEndDate": "2024-12-31",
"jobEndDate": "2024-11-30",
"jobDescription": "Kitchen renovation project for residential client.",
"jobTypeId": "80000001-1234567890",
"note": "Our favorite customer.",
"additionalNotes": [
{
"id": 1,
"note": "This is a fun note."
}
],
"preferredDeliveryMethod": "email",
"priceLevelId": "80000001-1234567890",
"taxRegistrationNumber": "GB123456789",
"currencyId": "80000001-1234567890"
}Response
Returns the updated customer.
Example response
{
"id": "80000001-1234567890",
"objectType": "qbd_customer",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"name": "Website Redesign Project",
"fullName": "ABC Corporation:Website Redesign Project",
"isActive": true,
"class": {
"id": "80000001-1234567890",
"fullName": "Consulting"
},
"parent": {
"id": "80000001-1234567890",
"fullName": "ABC Corporation"
},
"sublevel": 1,
"companyName": "Acme Corporation",
"salutation": "Dr.",
"firstName": "John",
"middleName": "A.",
"lastName": "Doe",
"jobTitle": "Purchasing Manager",
"billingAddress": {
"line1": "Conductor Labs Inc.",
"line2": "540 Market St.",
"line3": "Suite 100",
"city": "San Francisco",
"state": "CA",
"postalCode": "94110",
"country": "United States",
"note": "Conductor HQ"
},
"shippingAddress": {
"line1": "Conductor Labs Inc.",
"line2": "540 Market St.",
"line3": "Suite 100",
"city": "San Francisco",
"state": "CA",
"postalCode": "94110",
"country": "United States",
"note": "Conductor HQ"
},
"alternateShippingAddresses": [
{
"name": "Alternate shipping address",
"line1": "Conductor Labs Inc.",
"line2": "540 Market St.",
"line3": "Suite 100",
"city": "San Francisco",
"state": "CA",
"postalCode": "94110",
"country": "United States",
"note": "Conductor HQ",
"isDefaultShippingAddress": true
}
],
"phone": "+1-555-123-4567",
"alternatePhone": "+1-555-987-6543",
"fax": "+1-555-555-1212",
"email": "customer@example.com",
"ccEmail": "manager@example.com",
"contact": "Jane Smith",
"alternateContact": "Bob Johnson",
"customContactFields": [
{
"name": "Main Phone",
"value": "555-123-4567"
}
],
"additionalContacts": [
{
"id": "80000001-1234567890",
"objectType": "qbd_contact",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"name": "Jane Smith",
"salutation": "Dr.",
"firstName": "John",
"middleName": "A.",
"lastName": "Doe",
"jobTitle": "Purchasing Manager",
"customContactFields": [
{
"name": "Main Phone",
"value": "555-123-4567"
}
]
}
],
"customerType": {
"id": "80000001-1234567890",
"fullName": "Retail Customer"
},
"terms": {
"id": "80000001-1234567890",
"fullName": "Net 30"
},
"salesRepresentative": {
"id": "80000001-1234567890",
"fullName": "Jane Doe"
},
"balance": "1000.00",
"totalBalance": "5000.00",
"salesTaxCode": {
"id": "80000001-1234567890",
"fullName": "Non"
},
"salesTaxItem": {
"id": "80000001-1234567890",
"fullName": "State Sales Tax"
},
"salesTaxCountry": "us",
"resaleNumber": "123456789",
"accountNumber": "1010",
"creditLimit": "5000.00",
"preferredPaymentMethod": {
"id": "80000001-1234567890",
"fullName": "Credit Card"
},
"creditCard": {
"number": "xxxxxxxxxxxx1234",
"expirationMonth": 12,
"expirationYear": 2024,
"name": "John Doe",
"address": "1234 Main St, Anytown, USA, 12345",
"postalCode": "12345"
},
"jobStatus": "in_progress",
"jobStartDate": "2024-01-15",
"jobProjectedEndDate": "2024-12-31",
"jobEndDate": "2024-11-30",
"jobDescription": "Kitchen renovation project for residential client.",
"jobType": {
"id": "80000001-1234567890",
"fullName": "Installation"
},
"note": "Our favorite customer.",
"additionalNotes": [
{
"id": 1,
"date": "2024-01-01",
"note": "This is a fun note."
}
],
"preferredDeliveryMethod": "email",
"priceLevel": {
"id": "80000001-1234567890",
"fullName": "Gold Member Pricing"
},
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"taxRegistrationNumber": "GB123456789",
"currency": {
"id": "80000001-1234567890",
"fullName": "USD"
},
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}Changes
- warning
the
request property's maxLength was set to99 - warning
the
////request property's maxLength was set to40 - warning
the
////request property's maxLength was set to255 - warning
the
//request property's maxLength was set to41 - warning
the
//request property's maxLength was set to15 - warning
the
//request property's maxLength was set to4095 - warning
the
request property's maxLength was set to41 - warning
the
//request property's maxLength was set to31 - warning
the
//request property's maxLength was set to41 - warning
the
/request property's maxLength was set to31 - warning
the
/request property's maxLength was set to41 - warning
the
request property's maxLength was set to1023 - warning
the
request property's maxLength was set to41 - warning
the
/request property's maxLength was set to41 - warning
the
/request property's maxLength was set to41 - warning
the
/request property's maxLength was set to25 - warning
the
/request property's maxLength was set to41 - warning
the
//request property's maxLength was set to40 - warning
the
//request property's maxLength was set to255 - warning
the
request property's maxLength was set to1023 - warning
the
request property's maxLength was set to99 - warning
the
request property's maxLength was set to41 - warning
the
request property's maxLength was set to4095 - warning
the
request property's maxLength was set to15 - warning
the
request property's maxLength was set to15 - warning
the
/request property's maxLength was set to31 - warning
the
/request property's maxLength was set to41 - warning
the
request property's maxLength was set to30
- warning
- info
removed the
australiaenum value from the/response property for the response status - info
removed the
canadaenum value from the/response property for the response status - info
removed the
ukenum value from the/response property for the response status - info
removed the
united_arab_emiratesenum value from the/response property for the response status - info
removed the
usenum value from the/response property for the response status
- info