Membership API

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"
    }
  ]
}

Error

object

Details of an error or issue.

codestring

The code used for the issue.

Example:resource.issue_type

messagestring

A detailed message.

Example:The issue happened because something is wrong.

propertystring

The property to which the issue is associated.

Example:person

propertiesobject

Additional properties related to the issue.

Example:{"firstName":"D0nn@","lastName":"Sm!th"}

Example
{
  "code": "resource.issue_type",
  "message": "The issue happened because something is wrong.",
  "property": "person",
  "properties": {
    "firstName": "D0nn@",
    "lastName": "Sm!th"
  }
}

Errors

object

An error occurred, and the request could not be completed.

errorsarray[object]

Details of an error or issue.

Show Child Parameters
Example
{
  "errors": [
    {
      "code": "resource.issue_type",
      "message": "The issue happened because something is wrong.",
      "property": "person",
      "properties": {
        "firstName": "D0nn@",
        "lastName": "Sm!th"
      }
    }
  ]
}

PhoneResponse

object

Details of a customer’s phone number.

phoneNumberstring

The phone number of the contact.

Example:949-555-1323

typestring

The type of phone number (e.g., BILLING, LISTING, LOCAL).

Example:LOCAL

extensionstring

The phone number extension.

Example:303

notesstring

Additional notes about the phone number.

Example:Primary contact number

Example
{
  "phoneNumber": "949-555-1323",
  "type": "LOCAL",
  "extension": "303",
  "notes": "Primary contact number"
}

StatusError

object

An error occurred, and the request could not be completed.

statusstring

The status of the response.

Example:error

errorsarray[string]

A collection of error messages.

Example:The issue happened because something is wrong.

Example
{
  "status": "error",
  "errors": [
    "The issue happened because something is wrong."
  ]
}