circle-check
Heads up, our devs are blazing ahead—docs are catching up, so some features might not be fully documented yet.

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

Accesstoken recevied after user login with a deviceToken

Responses
chevron-right
200

User account response

application/json
globalRolesstring[]Required
defaultTenantUidstringRequiredPattern: ^[A-Za-z0-9-_]+
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
accessTokenstringRequired
post
/account
200

Example response

Update global account information

put
/account

Update global information about logged in user

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

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

User account response

application/json
globalRolesstring[]Required
defaultTenantUidstringRequiredPattern: ^[A-Za-z0-9-_]+
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

Accesstoken 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
accountTypestring · enumRequired
ENUM Description
FULL Access to backoffice and onboarding of new devices
REGULAR Can only login to already onboarded devices
SUPPORT Support account
INTEGRATION Computer integration account
Possible values:
createdAtstring · date-timeRequired
defaultStoreUidstringOptionalPattern: ^[A-Za-z0-9-_]*
displayNamestringRequired
emailstringRequired
externalIdstringRequired
firstnamestringRequired
lastAccessedstring · date-timeRequired
lastModifiedAtstring · date-timeRequired
lastnamestringRequired
mobilestringRequired
statusstring · enumRequiredPossible values:
tenantUidstringRequiredPattern: ^[A-Za-z0-9-_]+
tenantRolestring · enumRequired
ENUM Description
BLOCKED Blocked from this tenant
ACCESS Only access to the tenant.
ADMIN Tenant admin, allow full access to tenant and can add users and new stores.
BACKOFFICE Access to product, pricelists, etc.
Possible values:
tenantUserUidstringRequiredPattern: ^[A-Za-z0-9-_]+
userCodestringRequired
languageCodestringRequired

ISO 639-1 code for language

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
accountTypestring · enumRequired
ENUM Description
FULL Access to backoffice and onboarding of new devices
REGULAR Can only login to already onboarded devices
SUPPORT Support account
INTEGRATION Computer integration account
Possible values:
createdAtstring · date-timeRequired
defaultStoreUidstringOptionalPattern: ^[A-Za-z0-9-_]*
displayNamestringRequired
emailstringRequired
externalIdstringRequired
firstnamestringRequired
lastAccessedstring · date-timeRequired
lastModifiedAtstring · date-timeRequired
lastnamestringRequired
mobilestringRequired
statusstring · enumRequiredPossible values:
tenantUidstringRequiredPattern: ^[A-Za-z0-9-_]+
tenantRolestring · enumRequired
ENUM Description
BLOCKED Blocked from this tenant
ACCESS Only access to the tenant.
ADMIN Tenant admin, allow full access to tenant and can add users and new stores.
BACKOFFICE Access to product, pricelists, etc.
Possible values:
tenantUserUidstringRequiredPattern: ^[A-Za-z0-9-_]+
userCodestringRequired
languageCodestringRequired

ISO 639-1 code for language

post
/tenants/{tenantUid}/account
200

Tenant user respose

Update account info

put
/tenants/{tenantUid}/account

Update information about logged in user

Authorizations
AuthorizationstringRequired

Accesstoken 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
accountTypestring · enumRequired
ENUM Description
FULL Access to backoffice and onboarding of new devices
REGULAR Can only login to already onboarded devices
SUPPORT Support account
INTEGRATION Computer integration account
Possible values:
createdAtstring · date-timeRequired
defaultStoreUidstringOptionalPattern: ^[A-Za-z0-9-_]*
displayNamestringRequired
emailstringRequired
externalIdstringRequired
firstnamestringRequired
lastAccessedstring · date-timeRequired
lastModifiedAtstring · date-timeRequired
lastnamestringRequired
mobilestringRequired
statusstring · enumRequiredPossible values:
tenantUidstringRequiredPattern: ^[A-Za-z0-9-_]+
tenantRolestring · enumRequired
ENUM Description
BLOCKED Blocked from this tenant
ACCESS Only access to the tenant.
ADMIN Tenant admin, allow full access to tenant and can add users and new stores.
BACKOFFICE Access to product, pricelists, etc.
Possible values:
tenantUserUidstringRequiredPattern: ^[A-Za-z0-9-_]+
userCodestringRequired
languageCodestringRequired

ISO 639-1 code for language

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
accountTypestring · enumRequired
ENUM Description
FULL Access to backoffice and onboarding of new devices
REGULAR Can only login to already onboarded devices
SUPPORT Support account
INTEGRATION Computer integration account
Possible values:
createdAtstring · date-timeRequired
defaultStoreUidstringOptionalPattern: ^[A-Za-z0-9-_]*
displayNamestringRequired
emailstringRequired
externalIdstringRequired
firstnamestringRequired
lastAccessedstring · date-timeRequired
lastModifiedAtstring · date-timeRequired
lastnamestringRequired
mobilestringRequired
statusstring · enumRequiredPossible values:
tenantUidstringRequiredPattern: ^[A-Za-z0-9-_]+
tenantRolestring · enumRequired
ENUM Description
BLOCKED Blocked from this tenant
ACCESS Only access to the tenant.
ADMIN Tenant admin, allow full access to tenant and can add users and new stores.
BACKOFFICE Access to product, pricelists, etc.
Possible values:
tenantUserUidstringRequiredPattern: ^[A-Za-z0-9-_]+
userCodestringRequired
languageCodestringRequired

ISO 639-1 code for language

put
/account/invite
200

Tenant user respose

Last updated

Was this helpful?