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

Tenant

Tenant

List tenants

get
/tenants

Listing all tenant the user has access to.

Required permission: TENANT.ACCESS

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

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:
Responses
200

Example response

application/json
get
/tenants
200

Example response

Get tenant details

get
/tenants/{tenantUid}

Internal endpoint for details for a tenant.

Required permission: TENANT.ACCESS

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

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

Example response

application/json
get
/tenants/{tenantUid}

Update tenant details

put
/tenants/{tenantUid}

Required permission: TENANT ADMIN

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
namestringOptional
pricelistUidstringOptionalPattern: ^[A-Za-z0-9-_]*
vatNumberstringOptional

VAT identification number for value added tax reporting purposes.

allowExternalCashDrawerbooleanOptionalDefault: false
autoLogoutintegerOptional

time in seconds, 0 means not enabled

Default: 0
autoPrintReceiptbooleanOptional
showOutOfStockWarningbooleanOptional
logoAssetUidstringOptionalPattern: ^[A-Za-z0-9-_]*
splashAssetUidstringOptionalPattern: ^[A-Za-z0-9-_]*
timezonestringOptional

The timezone in tz/zoneinfo format. Example: Europe/Oslo

numericSkuCounterintegerOptional
languageCodestringOptional

ISO 639-1 code for language

printCardPaymentDetailsbooleanOptional

toogle on/off payment terminal details on receipt

sendInvoicesExternallybooleanOptional
Responses
200

Example response

application/json
put
/tenants/{tenantUid}
200

Example response

List users

get
/tenants/{tenantUid}/users

List all users.

Required access: Tenant.Admin

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

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:
querystringOptional

Query string for tenant users

tenantuserOrganizationUidstringOptional

Reference to an Organization

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

Reference to a Store

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

Example response

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

Example response

Create new user on a tenant

post
/tenants/{tenantUid}/users

Add user to tenant

Required access: Tenant.Admin

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

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

Email is required when accountType is FULL

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:
displayNamestringOptional
emailstringOptional
externalIdstringOptional
firstnamestringOptional
lastnamestringOptional
mobilestringOptional
passwordstringRequired
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:
userCodestringRequired
tenantUserUidstringOptionalPattern: ^[A-Za-z0-9-_]+
languageCodestringOptional

ISO 639-1 code for language

Responses
200

Tenant user respose

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

Tenant user respose

Get user details

get
/tenants/{tenantUid}/users/{tenantUserUid}

Get details for a user.

Required access: Tenant.Admin

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUserUidstringRequired

Reference to a TenantUser.

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

Reference to a tenant.

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

Tenant user respose

application/json
get
/tenants/{tenantUid}/users/{tenantUserUid}
200

Tenant user respose

Update tenant user

put
/tenants/{tenantUid}/users/{tenantUserUid}

Update user access for a tenant

Required access: Tenant.Admin

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUserUidstringRequired

Reference to a TenantUser.

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

Reference to a tenant.

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

Check external payment gateways and fetch status

Body
accountTypestring · enumOptional
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:
defaultStoreUidstringOptionalPattern: ^[A-Za-z0-9-_]+
displayNamestringOptional
emailstringOptional
externalIdstringOptional
firstnamestringOptional
lastnamestringOptional
mobilestringOptional
passwordstringOptional
tenantRolestring · enumOptional
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:
userCodestringOptional
languageCodestringOptional

ISO 639-1 code for language

Responses
200

Tenant user respose

application/json
put
/tenants/{tenantUid}/users/{tenantUserUid}
200

Tenant user respose

Delete a user from a tenant

delete
/tenants/{tenantUid}/users/{tenantUserUid}

Deletes a user completely from a tenant.

Required access: Tenant.Admin

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUserUidstringRequired

Reference to a TenantUser.

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

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Responses
delete
/tenants/{tenantUid}/users/{tenantUserUid}
204

No Content

No content

Get list of integration tokens for a tenant user.

get
/tenants/{tenantUid}/users/{tenantUserUid}/tokens

Get list of integration tokens for a tenant user.

Required access: Tenant.Admin

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUserUidstringRequired

Reference to a TenantUser.

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

Reference to a tenant.

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

Example response

application/json
get
/tenants/{tenantUid}/users/{tenantUserUid}/tokens
200

Example response

Create integration token for a tenant user

post
/tenants/{tenantUid}/users/{tenantUserUid}/tokens

Create integration token for a tenant user

Required access: Tenant.Admin

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUserUidstringRequired

Reference to a TenantUser.

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

Reference to a tenant.

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

Example response

application/json
post
/tenants/{tenantUid}/users/{tenantUserUid}/tokens
200

Example response

Delete an integration token from a tenant user

delete
/tenants/{tenantUid}/users/{tenantUserUid}/tokens/{tenantUserTokenUid}

Deletes an integration token for a tenant user

Required access: Tenant.Admin

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUserTokenUidstringRequired

Reference to a TenantUserToken.

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

Reference to a TenantUser.

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

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Responses
delete
/tenants/{tenantUid}/users/{tenantUserUid}/tokens/{tenantUserTokenUid}
204

No Content

No content

Last updated

Was this helpful?