User

User

Get full account info

get
/account

Get full account information for a logged-in user. This will return information for all tenants the user has access to.

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Responses
chevron-right
200

User account response

application/json
get
/account
200

User account response

Login user

post
/account

Login as a tenant user

Requires a valid deviceToken

Authorizations
AuthorizationstringRequired

The devicetoken is only used for to attach devices and tie it to a tenant

Body
passwordstringRequired
userCodestringRequired
Responses
chevron-right
200

Example response

application/json
post
/account
200

Example response

Update global account information

put
/account

Update global information about logged in user

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Body
defaultTenantUidstringRequiredPattern: ^[A-Za-z0-9-_]+
Responses
chevron-right
200

User account response

application/json
put
/account
200

User account response

Get account info for a specific tenant

get
/tenants/{tenantUid}/account

Get tenant information about logged-in user

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Responses
chevron-right
200

Tenant user respose

application/json
get
/tenants/{tenantUid}/account
200

Tenant user respose

Generate accessToken from authToken

post
/tenants/{tenantUid}/account

Generate access token from auth token

Authorizations
AuthorizationstringRequired

Token received from the auth service

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Responses
chevron-right
200

Tenant user respose

application/json
post
/tenants/{tenantUid}/account
200

Tenant user respose

Update account info

put
/tenants/{tenantUid}/account

Update information about logged in user

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body

Update the tenant account

defaultStoreUidstringOptionalPattern: ^[A-Za-z0-9-_]*
displayNamestringOptional
emailstringOptional
firstnamestringOptional
lastnamestringOptional
mobilestringOptional
passwordstringOptional
languageCodestringOptional

ISO 639-1 code for language

Responses
chevron-right
200

Tenant user respose

application/json
put
/tenants/{tenantUid}/account
200

Tenant user respose

Get tenant invitation information

get
/account/invite

Get information about invitation to a tenant

Header parameters
x-invite-tokenstringRequired

invite token

Responses
chevron-right
200

Example response

application/json
get
/account/invite
200

Example response

Accept tenant invitation

put
/account/invite

Accept invitation to a tenant

Authorizations
AuthorizationstringRequired

Token received from the auth service

Body

Accept an invitation

inviteTokenstringRequired
Responses
chevron-right
200

Tenant user respose

application/json
put
/account/invite
200

Tenant user respose

List subscribers

get
/tenants/{tenantUid}/stores/{storeUid}/subscribers

List subscribers for a store.

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUM Description
ASC Sort in ascending order
DESC Sort in descending order
Possible values:
subscriptionTypestring · enumOptional

Reference to subscription type

Possible values:
tenantUserUidsstring[]Optional

Filter on tenant users

Responses
chevron-right
200

Example response

application/json
get
/tenants/{tenantUid}/stores/{storeUid}/subscribers
200

Example response

Create subscriber

post
/tenants/{tenantUid}/stores/{storeUid}/subscribers

Create new subscriber.

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
Body
subscriberUidstringOptionalPattern: ^[A-Za-z0-9-_]*
tenantUserUidstringRequiredPattern: ^[A-Za-z0-9-_]+
subscriptionTypestring · enumRequiredPossible values:
Responses
post
/tenants/{tenantUid}/stores/{storeUid}/subscribers
201

Example response

Get subscriber

get
/tenants/{tenantUid}/stores/{storeUid}/subscribers/{subscriberUid}

Get a subscriber.

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
subscriberUidstringRequired

Reference to a subscriber

Pattern: ^[A-Za-z0-9-_]+
Responses
chevron-right
200

Example response

application/json
get
/tenants/{tenantUid}/stores/{storeUid}/subscribers/{subscriberUid}
200

Example response

Delete subscriber

delete
/tenants/{tenantUid}/stores/{storeUid}/subscribers/{subscriberUid}

Delete a subscriber.

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
subscriberUidstringRequired

Reference to a subscriber

Pattern: ^[A-Za-z0-9-_]+
Responses
delete
/tenants/{tenantUid}/stores/{storeUid}/subscribers/{subscriberUid}
204

No Content

No content

Last updated