Skip to content

customer object

A customer object contains the properties that define a DropStream customer.

Customer objects are managed by the /customers endpoint.

customer properties

The following are the properties of a customer object.

id

Propertyid
DescriptionUnique ID, assigned when the customer object is created
Data typeinteger
NoteIn other contexts, "customer_id" refers to this property
Example12345

company_name

Propertycompany_name
DescriptionCompany name
Data typestring
Example"The company"
Required?Yes

street1

Propertystreet1
DescriptionPostal address, line 1
Data typestring
Defaultnull

street2

Propertystreet2
DescriptionPostal address, line 2
Data typestring
Defaultnull

street3

Propertystreet3
DescriptionPostal address, line 3
Data typestring
Defaultnull

city

Propertycity
DescriptionCity
Data typestring
Defaultnull

state

Propertystate
DescriptionState
Data typestring
Defaultnull

zipcode

Propertyzipcode
DescriptionZIP code
Data typestring
Defaultnull

country

Propertycountry
DescriptionCountry
Data typestring
Defaultnull

provider

Propertyprovider
DescriptionString identifying the provider
Accepted values"dropstream"
Defaultnull

created_at

Propertycreated_at
DescriptionDate when the customer was created
Data typedateString
Defaultnull
Example"2018-08-02T20:36:23.000Z"

Example customer object

{
    "id": 2376,
    "company_name": "Company Name",
    "street1": "123 Commerce St",
    "street2": "Suite 789",
    "street3": null,
    "city": "New York",
    "state": "NY",
    "zipcode": "10012",
    "country": "USA",
    "provider": "dropstream",
    "created_at": "2018-08-02T20:36:23.000Z"
}