GuidesAPI Reference
Log In
API Reference

Create customer

Creates a customer.

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

Customer information

string
required
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 ID of the store where the customer account was opened.

integer | null

The unique identifier for this customer price group.

integer | null

Customer ID of the bill-to customer

string
length ≤ 40

The customer's title.

string
required
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