Update user data
| id required | string <uuid> Example: 9cbe650a-1fb7-4b06-912b-cead8a013e8b |
| trusted | boolean |
Array of objects (UserRole) [ 0 .. 64 ] items | |
| login required | string |
| password | string [ 8 .. 64 ] characters |
| firstName | string[\p{L}\p{N}_. -]+ |
| lastName | string[\p{L}\p{N}_. -]+ |
| active | boolean |
| phone | string [ 3 .. 32 ] characters [a-zA-Z0-9. ()-]+ |
| pushId | string [ 3 .. 256 ] characters |
Array of objects (AuthStrategyDto) [ 0 .. 16 ] items | |
| consents | Array of strings [ 0 .. 16 ] items [ items [ 1 .. 32 ] characters [a-zA-Z0-9_-]+ ] |
object |
user
{- "login": "testomir5@3e.pl",
- "active": true,
- "roles": [
- {
- "role": "COOK"
}, - {
- "venue": "venue1",
- "role": "MANAGER"
}
], - "firstName": "Arnold",
- "lastName": "Schwarzenegger"
}Delete user. Be careful as this is not reversible. If user has user management role he may delete every single user.This will trigger respective actions in dependent modules, like loyalty, wallet, etc.
| id required | string <uuid> Example: 9cbe650a-1fb7-4b06-912b-cead8a013e8b |
Update user data (synchronous)
| id required | string <uuid> Example: 9cbe650a-1fb7-4b06-912b-cead8a013e8b |
| trusted | boolean |
Array of objects (UserRole) [ 0 .. 64 ] items | |
| login required | string |
| password | string [ 8 .. 64 ] characters |
| firstName | string[\p{L}\p{N}_. -]+ |
| lastName | string[\p{L}\p{N}_. -]+ |
| active | boolean |
| phone | string [ 3 .. 32 ] characters [a-zA-Z0-9. ()-]+ |
| pushId | string [ 3 .. 256 ] characters |
Array of objects (AuthStrategyDto) [ 0 .. 16 ] items | |
| consents | Array of strings [ 0 .. 16 ] items [ items [ 1 .. 32 ] characters [a-zA-Z0-9_-]+ ] |
object |
user
{- "login": "testomir5@3e.pl",
- "password": "password123",
- "active": true,
- "roles": [
- {
- "role": "COOK"
}, - {
- "venue": "venue1",
- "role": "MANAGER"
}
], - "firstName": "Arnold",
- "lastName": "Schwarzenegger"
}Create new user
| trusted | boolean |
Array of objects (UserRole) [ 0 .. 64 ] items | |
| login required | string |
| password | string [ 8 .. 64 ] characters |
| firstName | string[\p{L}\p{N}_. -]+ |
| lastName | string[\p{L}\p{N}_. -]+ |
| active | boolean |
| phone | string [ 3 .. 32 ] characters [a-zA-Z0-9. ()-]+ |
| pushId | string [ 3 .. 256 ] characters |
Array of objects (AuthStrategyDto) [ 0 .. 16 ] items | |
| consents | Array of strings [ 0 .. 16 ] items [ items [ 1 .. 32 ] characters [a-zA-Z0-9_-]+ ] |
object |
user
{- "id": "9cbe650a-1fb7-4b06-912b-cead8a013e8b",
- "login": "testomir5@3e.pl",
- "password": "password123",
- "active": true,
- "roles": [
- {
- "role": "COOK"
}, - {
- "venue": "venue1",
- "role": "MANAGER"
}
], - "firstName": "Arnold",
- "lastName": "Schwarzenegger"
}Upsert auth strategy
| id required | string <uuid> Example: 9cbe650a-1fb7-4b06-912b-cead8a013e8b |
| strategy required | string [ 1 .. 32 ] characters [a-zA-Z0-9_.-]+ |
| id required | string [ 1 .. 255 ] characters |
| password | string [ 10 .. 64 ] characters |
| active | boolean |
{- "strategy": "string",
- "id": "string",
- "password": "stringstri",
- "active": true
}Create new user (synchronous)
| trusted | boolean |
Array of objects (UserRole) [ 0 .. 64 ] items | |
| login required | string |
| password | string [ 8 .. 64 ] characters |
| firstName | string[\p{L}\p{N}_. -]+ |
| lastName | string[\p{L}\p{N}_. -]+ |
| active | boolean |
| phone | string [ 3 .. 32 ] characters [a-zA-Z0-9. ()-]+ |
| pushId | string [ 3 .. 256 ] characters |
Array of objects (AuthStrategyDto) [ 0 .. 16 ] items | |
| consents | Array of strings [ 0 .. 16 ] items [ items [ 1 .. 32 ] characters [a-zA-Z0-9_-]+ ] |
object |
user
{- "id": "9cbe650a-1fb7-4b06-912b-cead8a013e8b",
- "login": "testomir5@3e.pl",
- "password": "password123",
- "active": true,
- "roles": [
- {
- "role": "COOK"
}, - {
- "venue": "venue1",
- "role": "MANAGER"
}
], - "firstName": "Arnold",
- "lastName": "Schwarzenegger"
}Set own data.
| firstName | string[\p{L}\p{N}_. -]+ |
| lastName | string[\p{L}\p{N}_. -]+ |
| phone | string [ 3 .. 32 ] characters [a-zA-Z0-9. ()-]+ |
| pushId | string [ 3 .. 256 ] characters |
object |
{- "firstName": "string",
- "lastName": "string",
- "phone": "string",
- "pushId": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}
}Set own consents.
| set | Array of strings [ 0 .. 16 ] items [ items [ 1 .. 32 ] characters [a-zA-Z0-9_-]+ ] |
| unset | Array of strings [ 0 .. 16 ] items [ items [ 1 .. 32 ] characters [a-zA-Z0-9_-]+ ] |
{- "set": [
- "string"
], - "unset": [
- "string"
]
}Find by auth strategy
| strategy required | string [ 1 .. 32 ] characters [a-zA-Z0-9_.-]+ Example: strategy=FB |
| id required | string [ 1 .. 255 ] characters Example: id=12345 |
| email required | string [ 0 .. 255 ] characters Example: email=abc@domain.com |
Upsert specific property
| property required | string[a-zA-Z0-9_.-]+ |
| property | string[a-zA-Z0-9_.-]+ |
| value required | string |
| isPrivate | boolean |
| isObfuscate | boolean |
{- "property": "string",
- "value": "string",
- "isPrivate": true,
- "isObfuscate": true
}Upsert property
| property | string[a-zA-Z0-9_.-]+ |
| value required | string |
| isPrivate | boolean |
| isObfuscate | boolean |
{- "property": "string",
- "value": "string",
- "isPrivate": true,
- "isObfuscate": true
}Update existing module data
| id required | string [ 2 .. 64 ] characters [a-zA-Z0-9_-]+ Example: kiosk-1 |
| id required | string [ 2 .. 64 ] characters [a-zA-Z0-9_-]+ |
| type required | string Enum: "KIOSK" "POS_INTEGRATOR" "AGGREGATOR" "BI_CONNECTOR" "KDS" "STATUS_SCREEN" "LOYALTY" "LOYALTY_INTEGRATOR" "MOBILE_APP_LOYALTY" "ORDERING_WEB" "DELIVERY_PANEL" "UNKNOWN" |
| production | boolean |
| user | string <uuid> |
| venue | string [ 0 .. 128 ] characters [a-zA-Z0-9_.-]+ |
| config | object |
object |
module
{- "id": "kiosk-1",
- "type": "KIOSK",
- "production": false
}Create new module (only if not exists)
| id required | string [ 2 .. 64 ] characters [a-zA-Z0-9_-]+ |
| type required | string Enum: "KIOSK" "POS_INTEGRATOR" "AGGREGATOR" "BI_CONNECTOR" "KDS" "STATUS_SCREEN" "LOYALTY" "LOYALTY_INTEGRATOR" "MOBILE_APP_LOYALTY" "ORDERING_WEB" "DELIVERY_PANEL" "UNKNOWN" |
| production | boolean |
| user | string <uuid> |
| venue | string [ 0 .. 128 ] characters [a-zA-Z0-9_.-]+ |
| config | object |
object |
module
{- "id": "kiosk-1",
- "type": "KIOSK",
- "production": false
}Get common module config
| type required | string Enum: "KIOSK" "POS_INTEGRATOR" "AGGREGATOR" "BI_CONNECTOR" "KDS" "STATUS_SCREEN" "LOYALTY" "LOYALTY_INTEGRATOR" "MOBILE_APP_LOYALTY" "ORDERING_WEB" "DELIVERY_PANEL" "UNKNOWN" Example: KDS |
Set common module config
| type required | string Enum: "KIOSK" "POS_INTEGRATOR" "AGGREGATOR" "BI_CONNECTOR" "KDS" "STATUS_SCREEN" "LOYALTY" "LOYALTY_INTEGRATOR" "MOBILE_APP_LOYALTY" "ORDERING_WEB" "DELIVERY_PANEL" "UNKNOWN" Example: KDS |
| property name* additional property | string |
{- "property1": "string",
- "property2": "string"
}Get module config for specific venue and module type.
| venue required | string [ 2 .. 64 ] characters [a-zA-Z0-9_-]+ Example: venue-1 |
| type required | string Enum: "KIOSK" "POS_INTEGRATOR" "AGGREGATOR" "BI_CONNECTOR" "KDS" "STATUS_SCREEN" "LOYALTY" "LOYALTY_INTEGRATOR" "MOBILE_APP_LOYALTY" "ORDERING_WEB" "DELIVERY_PANEL" "UNKNOWN" Example: type=AGGREGATOR |
| filterConfigName | stringconfig\.[a-zA-Z0-9]+ Example: filterConfigName=config.storeId |
| filterConfigValue | string[a-zA-Z0-9._-]+ Example: filterConfigValue=abcXYZ-123 |
Revoke roles globally (from all users that have such role in venue or global context). You cannot revoke SU role this way. When used as regular user - does not revoke roles from himself (for security).
[- "string"
]Grant role by login/email (list).
| venue | string [ 1 .. 128 ] characters [a-zA-Z0-9_.-]+ |
| role required | string [ 1 .. 128 ] characters [a-zA-Z0-9_]+ |
| logins required | Array of strings [ 1 .. 100 ] items [ items [ 0 .. 256 ] characters ] |
{- "venue": "string",
- "role": "string",
- "logins": [
- "string"
]
}