latestOpenAPI 3.0.02026-07-26318168886.7 KB
1675ac12cde7
Staffs
Get staff permissions
To retrieve permissions of a staff <br>獲取一個管理員的權限。
get/staffs/{id}/permissions
Path parameters
idId required— unresolved $ref
Staff id<br> 管理員id。
Query parameters
scope'open_api' | 'admin' | 'shop_crm' | 'pos' | 'one' | 'shoplytics' | 'sc' | 'dash' | 'ads' | 'payment_center' | 'mc' | 'form_builder'
Example:admin
The permissions scope<br> 獲取權限的範圍。<br> If scope is not provided and the staff is the current merchant owner, no permissions will be returned. <br> 如果沒有scope,而且管理員是店長,不會返回任何權限。
Response
OK