Contents
A customer record represents a company or individual who owns stock held in your warehouses or receives shipments.
{
"shortID": "ACME-CORP",
"name": "Acme Corporation",
"address1": "123 Industrial Way",
"address2": "",
"city": "Springfield",
"state": "IL",
"zip": "62701",
"country": "US",
"phone": "555-0100",
"fax": "",
"email": "orders@acme.example.com",
"contact": "Jane Smith",
"active": true,
"created": "2023-04-15T08:30:00",
"modified": "2024-11-02T14:22:00"
}| Field | Type | Description |
|---|---|---|
shortID | string | Unique customer identifier |
name | string | Customer name |
address1 | string | Primary address line |
address2 | string | Secondary address line |
city | string | City |
state | string | State or province |
zip | string | Postal code |
country | string | Country code |
phone | string | Phone number |
fax | string | Fax number |
email | string | Email address |
contact | string | Primary contact name |
active | boolean | false when discontinued |
created | datetime | Record creation timestamp |
modified | datetime | Last modified timestamp |
GET /Customer/AllReturns all customers with standard pagination parameters.
{
"value": [
{
"shortID": "ACME-CORP",
"name": "Acme Corporation",
"address1": "123 Industrial Way",
"address2": "",
"city": "Springfield",
"state": "IL",
"zip": "62701",
"country": "US",
"phone": "555-0100",
"fax": "",
"email": "orders@acme.example.com",
"contact": "Jane Smith",
"active": true,
"created": "2023-04-15T08:30:00",
"modified": "2024-11-02T14:22:00"
},
{
"shortID": "BRIGHT-MFG",
"name": "Bright Manufacturing LLC",
"address1": "88 Factory Rd",
"address2": "Suite 200",
"city": "Rockford",
"state": "IL",
"zip": "61101",
"country": "US",
"phone": "555-0201",
"fax": "555-0202",
"email": "inventory@brightmfg.example.com",
"contact": "Tom Briggs",
"active": true,
"created": "2022-09-01T09:00:00",
"modified": "2025-01-15T11:05:00"
}
],
"totalCount": 48,
"page": 1,
"pageSize": 25,
"pageCount": 2,
"hasMore": true
}GET /Customer/{id}Returns 404 if the customer does not exist.
GET /Customer/ACME-CORP{
"shortID": "ACME-CORP",
"name": "Acme Corporation",
"address1": "123 Industrial Way",
"address2": "",
"city": "Springfield",
"state": "IL",
"zip": "62701",
"country": "US",
"phone": "555-0100",
"fax": "",
"email": "orders@acme.example.com",
"contact": "Jane Smith",
"active": true,
"created": "2023-04-15T08:30:00",
"modified": "2024-11-02T14:22:00"
}POST /CustomerUpserts a customer. If shortID matches an existing record it is updated; otherwise a new record is created.
{
"shortID": "ACME-CORP",
"name": "Acme Corporation",
"address1": "123 Industrial Way",
"address2": "",
"city": "Springfield",
"state": "IL",
"zip": "62701",
"country": "US",
"phone": "555-0100",
"fax": "",
"email": "orders@acme.example.com",
"contact": "Jane Smith"
}| Field | Type | Required | Description |
|---|---|---|---|
shortID | string | Yes | Unique identifier. Used to match existing records on upsert. |
name | string | No | Customer name |
address1 | string | No | Primary address line |
address2 | string | No | Secondary address line |
city | string | No | City |
state | string | No | State or province |
zip | string | No | Postal code |
country | string | No | Country code |
phone | string | No | Phone number |
fax | string | No | Fax number |
email | string | No | Email address |
contact | string | No | Primary contact name |
{
"shortID": "ACME-CORP",
"name": "Acme Corporation",
"address1": "123 Industrial Way",
"address2": "",
"city": "Springfield",
"state": "IL",
"zip": "62701",
"country": "US",
"phone": "555-0100",
"fax": "",
"email": "orders@acme.example.com",
"contact": "Jane Smith",
"active": true,
"created": "2023-04-15T08:30:00",
"modified": "2025-05-31T10:00:00"
}DELETE /Customer/{id}Marks the customer as discontinued. Historical records are preserved. Returns 204 on success.
DELETE /Customer/ACME-CORP| Action | Permission |
|---|---|
| List / Get | Customers List (SecurityID 130) |
| Create / Update / Discontinue | Create/Modify Customer (SecurityID 131) |
On this page