Skip to main content
PUT
Update app user

Authorizations

Authorization
string
header
required

Authorization: Bearer <SPIRII_API_KEY>

Path Parameters

id
number
required

App user id

Body

application/json
firstName
string
Maximum string length: 50
lastName
string
Maximum string length: 50
email
string
Maximum string length: 255
phoneNumber
string
Maximum string length: 16
whitelabel
string
Maximum string length: 50

Response

id
integer
required

The unique identifier of the app user.

createdAt
string<date-time>
required

The creation date of the app user.

firstName
string

The first name of the app user.

lastName
string

The last name of the app user.

email
string

The email address of the app user.

phoneNumber
string

The phone number of the app user.

whitelabel
string

The whitelabel the app user belongs to.

newsletter
boolean

Indicates whether the app user is subscribed to the newsletter.

whitelabelCompany
object

The whitelabel company associated with the app user.

company
object

The company associated with the app user.

operatorId
integer

The unique identifier of the operator the app user belongs to.

companyId
integer

The unique identifier of the company the app user belongs to.

firebaseUserId
string

The Firebase user identifier associated with the app user.

stripeId
string

The Stripe customer identifier associated with the app user.

locations
object[]

The locations associated with the app user.

chargeCards
object[]

The charge cards associated with the app user.

creditCards
object[]

The credit cards associated with the app user.

vouchers
object[]

The vouchers associated with the app user.