PATCH
/
customers
/
{id}

Authorizations

Authorization
string
headerrequired

Authenticate with bearer_token you obtained from /login endpoint.

Path Parameters

id
string
required

FlatPeak customer_id.

Body

application/json
reference_id
string

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

Response

202 - application/json

This object represents a customer of your business.

id
string
required

FlatPeak unique object Id.

object
string
required

Represents the object’s type.

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.

time_created
string
required

Time when the object was created, in UTC.

account_id
string
required

FlatPeak unique account id

reference_id
string

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

locations
string[]

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