Executes the Add action for the Customers data object.

Adds a new SM Customer Record

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

The code of the subscriber that you are making this request for.

Body Params
integer
required
1 to 255
integer
required

Key to ar/customer(CustGroup, Customer). CustGroup is defaulted based on the provided SMCo. Customer must already exist in the ar/customers endpoint.

string
enum

Optional. If omitted, Y will be defaulted.

Allowed:
string
enum

Optional. If omitted, N will be defaulted.

Allowed:
string | null

Key to SM Rate Template. Optional. If omitted, null will be defaulted.

integer | null

Alternate Bill To Customer. Optional. If omitted, null will be defaulted. Set the Alternate AR Customer to bill to for this SM Customer.

string
enum
length ≤ 1

Options: N-Not Required, R-Required. Optional. If omitted, N will be defaulted.

Allowed:
string | null

Key to SM Technician. Optional. If omitted, null will be defaulted.

string | null

Key to hq/reviewers(Reviewer). Optional. If omitted, null will be defaulted.

string
enum
length ≤ 1

Options: C-One per Customer, S-One per service site, W-One per work order, P-One per work order scope. Optional. If omitted, C will be defaulted.

Allowed:
string
enum

Optional. If omitted, N will be defaulted.

Allowed:
string
enum
length ≤ 1

Options: L-Line Type, C-Cost Type, T-Transaction. Optional. If omitted, T-Transaction will be defaulted.

Allowed:
integer | null
string
enum
length ≤ 1

Invoice Delivery Address Type. Options: A-AR Customer, S-Service Site, O-Other. S-Service Site can only be provided if the $.InvoiceGrouping != C.

Allowed:
string | null

Optional. If omitted, null will be defaulted. Can only be provided if $.DeliveryTo = 'O'. If provided when $.DeliveryTo is not 'O' the input will be ignored.

string | null

Required if $.DeliveryTo = 'O'. If provided when $.DeliveryTo is not 'O' the input will be ignored.

string | null

Required if $.DeliveryTo = 'O'. If provided when $.DeliveryTo is not 'O' the input will be ignored.

string | null

Optional. If omitted, null will be defaulted. Can only be provided if $.DeliveryTo = 'O'. If provided when $.DeliveryTo is not 'O' the input will be ignored.

string | null

Required if $.DeliveryTo = 'O'. If provided when $.DeliveryTo is not 'O' the input will be ignored.

string | null

Required if $.DeliveryTo = 'O'. If provided when $.DeliveryTo is not 'O' the input will be ignored.

string | null

Required if $.DeliveryTo = 'O'. If provided when $.DeliveryTo is not 'O' the input will be ignored.

string | null

Required if $.DeliveryTo = 'O'. If provided when $.DeliveryTo is not 'O' the input will be ignored.

string
enum
length ≤ 1

Options: P-Print, E-Email. Optional. If omitted, P will be defaulted.

Allowed:
string | null

Optional. If omitted, null will be defaulted.

Headers
string
required

Used to authorize access to the Direct API.

Responses

401

You have not provided a proper X-Application-Key in the header of this request.

403

The X-Application-Key provided is valid but the key does not have access to this resource.

404

The object with the given ID was not found OR a subscriber with the given URL was not found.

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