Membership API

AddressResponse

object

Details of a customer’s address.

streetAddressstring

The street address.

Example:345 W Elm St.

streetAddress2string

Additional street address line.

Example:2nd Floor

citystring

The city.

Example:Anaheim

statestring

The state.

Example:CA

zipcodestring

The ZIP code. Must be a valid United States ZIP code or Canadian postal code.

Example:92802

typestring

The type of address (e.g., PRIMARY, LOCAL, BILLING).

Example:PRIMARY

Example
{
  "streetAddress": "345 W Elm St.",
  "streetAddress2": "2nd Floor",
  "city": "Anaheim",
  "state": "CA",
  "zipcode": "92802",
  "type": "PRIMARY"
}

AuthorityNumberResponse

object

Details of a customer’s authority number.

numberstring

The authority number assigned to the customer.

Example:DL 01-00673-10

verifiedboolean

Indicates whether the authority number is verified.

Example:true

typestring

The type of authority number.

Example:DEALER_LICENSE

Example
{
  "number": "DL 01-00673-10",
  "verified": true,
  "type": "DEALER_LICENSE"
}

CustomerResponse

object

A customer record.

companyNamestring

The name of the company.

Example:Smart Logistics

emailstring

The email address of the contact. Must be a valid email address format.

Example:contact@aculogistics.com

phoneNumbersarray[object]

Details of a customer’s phone number.

Show Child Parameters
addressesarray[object]

Details of a customer’s address.

Show Child Parameters
customerAuthorityNumbersarray[object]

Details of a customer’s authority number.

Show Child Parameters
customerIdstring(uuid)

The Central Dispatch customer ID of the customer.

Example:d5c62b14-cbd1-11ee-9a0e-0242ac110002

accessPausedboolean

Indicates if the company has temporarily lost access to their account due to security reasons.

Example:true

Example
{
  "companyName": "Smart Logistics",
  "email": "contact@aculogistics.com",
  "phoneNumbers": [
    {
      "phoneNumber": "949-555-1323",
      "type": "LOCAL",
      "extension": "303",
      "notes": "Primary contact number"
    }
  ],
  "addresses": [
    {
      "streetAddress": "345 W Elm St.",
      "streetAddress2": "2nd Floor",
      "city": "Anaheim",
      "state": "CA",
      "zipcode": "92802",
      "type": "PRIMARY"
    }
  ],
  "customerAuthorityNumbers": [
    {
      "number": "DL 01-00673-10",
      "verified": true,
      "type": "DEALER_LICENSE"
    }
  ],
  "customerId": "d5c62b14-cbd1-11ee-9a0e-0242ac110002",
  "accessPaused": true
}

CustomerSearchCollection

object

A collection of customers.

hrefstringrequired

The URL used to query the current collection of the resource.

Example:https://membership-api.centraldispatch.com/customers/?start=5&limit=1&name=acu

countinteger(int32)required

The total count of resources in the collection.

Example:23

itemsarray[object]required

A customer record.

Show Child Parameters
limitinteger(int32)required

The maximum number of items to be returned in the response.

Example:1

Example
{
  "href": "https://membership-api.centraldispatch.com/customers/?start=5&limit=1&name=acu",
  "count": 23,
  "items": [
    {
      "customerName": "Acu Logistics",
      "customerId": "d5c62b14-cbd1-11ee-9a0e-0242ac110002",
      "email": "trans-port@notgmail.com",
      "phoneNumbers": [
        {
          "phoneNumber": "949-555-1323",
          "type": "LOCAL",
          "extension": "303",
          "notes": "Primary contact number"
        }
      ],
      "addresses": [
        {
          "streetAddress": "345 W Elm St.",
          "streetAddress2": "2nd Floor",
          "city": "Anaheim",
          "state": "CA",
          "zipcode": "92802",
          "type": "PRIMARY"
        }
      ],
      "customerAuthorityNumbers": [
        {
          "number": "DL 01-00673-10",
          "verified": true,
          "type": "DEALER_LICENSE"
        }
      ]
    }
  ],
  "limit": 1
}

CustomerSearchResponse

object

A customer record.

customerNamestring

The customer’s name.

Example:Acu Logistics

customerIdstring

The Central Dispatch customer ID of the customer.

Example:d5c62b14-cbd1-11ee-9a0e-0242ac110002

emailstring

The email address of the customer.

Example:trans-port@notgmail.com

phoneNumbersarray[object]

Details of a customer’s phone number.

Show Child Parameters
addressesarray[object]

Details of a customer’s address.

Show Child Parameters
customerAuthorityNumbersarray[object]

Details of a customer’s authority number.

Show Child Parameters
Example
{
  "customerName": "Acu Logistics",
  "customerId": "d5c62b14-cbd1-11ee-9a0e-0242ac110002",
  "email": "trans-port@notgmail.com",
  "phoneNumbers": [
    {
      "phoneNumber": "949-555-1323",
      "type": "LOCAL",
      "extension": "303",
      "notes": "Primary contact number"
    }
  ],
  "addresses": [
    {
      "streetAddress": "345 W Elm St.",
      "streetAddress2": "2nd Floor",
      "city": "Anaheim",
      "state": "CA",
      "zipcode": "92802",
      "type": "PRIMARY"
    }
  ],
  "customerAuthorityNumbers": [
    {
      "number": "DL 01-00673-10",
      "verified": true,
      "type": "DEALER_LICENSE"
    }
  ]
}