Customer
Full customer detail, including contacts and addresses.
Unique identifier for the customer.
4021Display name of the customer.
Sunrise Craft BeveragesShort alphanumeric code for quick reference (e.g., on printed documents or internal lookups).
SUNRISELegal company name, if different from the display name.
Primary email address for the customer account.
Primary phone number for the customer account.
Default payment terms for this customer (e.g., "Net 30", "Due on receipt"). Applied to new sales orders unless overridden.
Net 30Internal notes about this customer. Not visible to the customer.
contacts object[]
All contact persons on file for this customer. One contact is flagged as primary.
Full name of the contact.
Email address of the contact.
Phone number including country code.
Whether this is the primary contact for the customer.
addresses object[]
All addresses on file for this customer (billing, shipping, or both). One address is flagged as primary.
Whether this address is used for billing, shipping, or both.
Possible values: [billing, shipping, both]
Street address line.
State or province code.
Postal or ZIP code.
Two-letter country code (ISO 3166-1 alpha-2).
Whether this is the default address for the customer.
{
"id": "4021",
"name": "Sunrise Craft Beverages",
"code": "SUNRISE",
"companyName": "string",
"email": "user@example.com",
"phone": "string",
"paymentTerms": "Net 30",
"notes": "string",
"contacts": [
{
"name": "string",
"email": "user@example.com",
"phone": "string",
"isPrimary": true
}
],
"addresses": [
{
"addressType": "billing",
"street": "string",
"city": "string",
"state": "string",
"zipCode": "string",
"country": "string",
"isPrimary": true
}
]
}