POST
/
customers

Authorizations

Authorization
string
header
required

Authenticate with bearer_token you obtained from /login endpoint.

Body

reference_id
string

A reference that is meaningful to you, for example, an ID from your system.

Response

201 - application/json

This object represents a customer of your business.

account_id
string
required

FlatPeak unique account id

id
string
required

FlatPeak unique object Id.

live_mode
boolean
required

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

object
string
required

Represents the object’s type.

time_created
string
required

Time when the object was created, in UTC.

locations
string[]

An array of FlatPeak location IDs that are associated with this object.

reference_id
string

A reference that is meaningful to you, for example, an ID from your system.