Skip to main content
POST
Create Customer

Authorizations

Authorization
string
header
required

Use your app's API_KEY as the username, and leave the password blank

Path Parameters

connection_id
string<uuid>
required

ID of the connection to use for customer creation

Query Parameters

request_id
string

A custom ID that can be used to identify the request and response. This could be your local ID for the request.

Example:

"1"

webhook_url
string<uri>

Optional absolute http or https URL to receive a webhook when the request is completed. It may not contain a username or password, and in production it may not point at localhost or a private, loopback or link-local address. A qube listen URL must be one of this app's.

Maximum string length: 2048

Body

application/json
name
string
required

Customer name as it appears in the QuickBooks customer list (must be unique)

Maximum string length: 41
is_active
boolean

Whether the customer is active

class_list_id
string

Optional class ListID

parent_list_id
string

Optional parent customer/job ListID, to create this customer as a sub-customer or job

company_name
string

Optional company name

Maximum string length: 41
salutation
string

Optional salutation (e.g. Mr., Ms., Dr.)

Maximum string length: 15
first_name
string

Optional first name

Maximum string length: 25
middle_name
string

Optional middle name/initial

Maximum string length: 5
last_name
string

Optional last name

Maximum string length: 25
suffix
string

Optional name suffix (e.g. Jr., Sr.)

job_title
string

Optional job title

Maximum string length: 41
bill_address
object

Optional bill-to address

ship_address
object

Optional ship-to address

ship_to_addresses
object[]

Optional additional ship-to addresses (up to 50)

print_as
string

Optional name to print on checks and invoices, if different from name

Maximum string length: 41
phone
string

Optional phone number

Maximum string length: 21
mobile
string

Optional mobile phone number

Maximum string length: 21
pager
string

Optional pager number

Maximum string length: 21
alt_phone
string

Optional alternate phone number

Maximum string length: 21
fax
string

Optional fax number

Maximum string length: 21
email
string

Optional email address

Maximum string length: 1023
cc
string

Optional CC email address

Maximum string length: 1023
contact
string

Optional primary contact name

Maximum string length: 41
alt_contact
string

Optional alternate contact name

Maximum string length: 41
additional_contacts
object[]

Optional additional named contact methods (e.g. social handles)

contacts
object[]

Optional additional named contacts at this customer

customer_type_list_id
string

Optional customer type ListID

terms_list_id
string

Optional payment terms ListID

sales_rep_list_id
string

Optional sales rep ListID

open_balance
string

Optional opening balance as a decimal string

open_balance_date
string<date>

Optional opening balance date (YYYY-MM-DD), required if open_balance is set

sales_tax_code_list_id
string

Optional sales tax code ListID

item_sales_tax_list_id
string

Optional tax item or tax group ListID

sales_tax_country
enum<string>

Optional sales tax country

Available options:
Australia,
Canada,
UK,
US
resale_number
string

Optional resale number

Maximum string length: 15
account_number
string

Optional account number shown on customer statements

Maximum string length: 99
credit_limit
string

Optional credit limit as a decimal string

preferred_payment_method_list_id
string

Optional preferred payment method ListID

credit_card_info
object

Optional credit card on file

job_status
enum<string>

Optional job status, if this customer represents a job

Available options:
Awarded,
Closed,
InProgress,
None,
NotAwarded,
Pending
job_start_date
string<date>

Optional job start date (YYYY-MM-DD)

job_projected_end_date
string<date>

Optional projected job end date (YYYY-MM-DD)

job_end_date
string<date>

Optional actual job end date (YYYY-MM-DD)

job_desc
string

Optional job description

Maximum string length: 99
job_type_list_id
string

Optional job type ListID

notes
string

Optional freeform notes

Maximum string length: 4095
additional_notes
string[]

Optional dated notes to attach to the customer

Maximum string length: 4095
is_statement_with_parent
boolean

Whether to include this job's transactions on the parent customer's statement (only applies to jobs)

delivery_method
enum<string>

Optional delivery method

Available options:
Email,
Fax,
Print
preferred_delivery_method
enum<string>

Optional preferred delivery method

Available options:
None,
Email,
Fax
price_level_list_id
string

Optional price level ListID

external_guid
string

Optional external GUID for cross-referencing this customer in another system

tax_registration_number
string

Optional tax registration number (e.g. VAT number)

Maximum string length: 30
currency_list_id
string

Optional currency ListID, for multi-currency companies

Response

Customer create request accepted and queued for processing. Returns a queued request object.

data
object