GuidesAPI Reference
Log In
API Reference
These docs are for v2025.2.0. Click to read the latest docs for v2026.2.0.

Update customer

Updates a customer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The unique system assigned value that identifies this record.

Body Params

Customer information

string
length between 1 and 128
[^\s]+

The name of this customer.

string | null

The customer number. If not specified, the next available sequential number will be automatically assigned.

integer
enum
-2147483648 to 2147483647

The customer type.

  • 0 - Personal
  • 1 - Business
Allowed:
integer | null

The unique identifier of the store where the customer account was opened.

integer | null

The unique identifier for this customer's price group.

integer | null

The unique identifier for this customer's default price type.

boolean

Set to False if this customer is no longer considered active

integer
enum
-2147483648 to 2147483647

The pricing sequence.

  • 0 - Best Pricing
  • 1 - No Promotions
  • 2 - No Price Books
  • 3 - Average Cost
  • 4 - Replacement Cost
Allowed:
integer | null

The unique identifier for this customer's salesperson.

boolean
integer
enum
-2147483648 to 2147483647

Enter customer privacy.

  • 0 - NA-Blank
  • 1 - Agree
  • 2 - Disagree
Allowed:
integer | null

The unique identifier representing the customer's tax code.

string
length ≤ 30

The customer's tax exemption number

integer | null

The unique identifier representing the customer's tax exemption reason

boolean

Is this customer tax exempt?

date | null

The date the customer's tax exemption code expires

boolean

Can this customer charge in POS?

integer
enum
-2147483648 to 2147483647

Balance Forward = Payments apply to oldest first; Open Item = Pick and choose what gets paid

  • 1 - Balance Forward
  • 2 - Open Item
Allowed:
integer
enum
-2147483648 to 2147483647

Indicates how far past due a balance must be for a finance charge to be applied

  • 0 - Never add finance charges
  • 1 - When past due
  • 31 - When more than 30 days past due
  • 61 - When more than 60 days past due
  • 91 - When more than 90 days past due
Allowed:
integer
enum
-2147483648 to 2147483647

Enter Credit A/R Only.

  • 10 - Cash or Credit for Returns
  • 20 - Credit A/R for Returns
  • 30 - A/R Only for Sales & Credits
Allowed:
boolean

Is this customer on credit hold?

string
^-?\d{0,9}(?:\.\d{0,4})?$

What is the customer credit limit.

string | null

The credit message

integer | null

The unique identifier representing the customer's credit terms.

integer
enum
-2147483648 to 2147483647

Control how statements are delivered

  • 0 - Do not send statements
  • 1 - Print Statements
  • 2 - Print Statements with Invoice Link
  • 3 - Email Statements
  • 4 - Email Statements with Invoice Link
Allowed:
integer
enum
-2147483648 to 2147483647

Balance Forward = Payments apply to oldest first; Open Item = Pick and choose what gets paid

  • 1 - Balance Forward
  • 2 - Open Item
Allowed:
boolean

If True, A/R payments may be made by check

boolean

Set to True if this customer will print an invoice

string
length ≤ 40

The customer's title.

string
length between 1 and 128

The customer's first name.

string
length ≤ 40

The customer's last name.

string
length ≤ 128

The customer's e-mail address.

string | null

The customer's address line 1.

string | null

The customer's address line 2.

string | null

The customer's address line 3.

string | null

The customer's city.

string | null

The customer's postal code location.

string | null

The customer's postal code.

string | null

The customer's country.

string
length ≤ 32

The phone number of the primary contact for this customer. Valid phone number format with country code : +1 2144141441 or without country code: 2144141441.

string
length ≤ 2

Primary Phone number’s country. If Blank, system will default country to “US”.

string
enum

Primary Phone number’s type. If Blank, system will default Phone Type to “M”.

  • `` -
  • O - Office
  • M - Mobile
  • F - Fax
  • H - Home
  • C - Business Main
  • P - Pager
  • T - Toll-Free
  • X - Other
Headers
integer
required

The id of the active store to be used for this API invocation

string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json