get_staff_permissions
Retrieve the access permissions for a staff member, showing which resources and actions they can perform in the store admin.
Instructions
取得指定員工的權限設定。
【用途】 查詢特定員工帳號在商店後台的存取權限範圍, 例如可操作的功能模組及操作層級。適合確認員工 權限配置或排查存取問題。
【呼叫的 Shopline API】
GET /v1/staffs/{staff_id}/permissions
【回傳結構】 dict 含 staff_id, permissions[]。 每個 permission 包含 resource, actions 等, 描述該員工可操作的資源與動作。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staff_id | Yes |