get https://app.ecwid.com/api/v3//profile/staffScopes
Get all available information about existing staff accounts in the store.
Request and response example
Request:
curl --location 'https://app.ecwid.com/api/v3/1003/profile/staffScopes' \
--header 'Authorization: Bearer secret_ab***cd'
Response:
{
"staffScopes": [
"SALES_MANAGEMENT",
"CATALOG_MANAGEMENT",
"MARKETING_MANAGEMENT",
"REPORT_ACCESS",
"WEBSITE_MANAGEMENT",
"SALES_CHANNELS_MANAGEMENT",
"STORE_MANAGEMENT"
]
}
Access scopes
Requires the following access scopes: read_store_profile
, read_staff
Path params
Param | Type | Description |
---|---|---|
storeId | number | Ecwid store ID. |
Headers
The Authorization header with a secret access token is required.
Header | Format | Description |
---|---|---|
Authorization | Bearer secret_ab***cd | Access token of the application. |
Response
A JSON object with the following fields:
Staff permissions available for a store
Field | Type | Description |
---|---|---|
staffScopes | Array of strings | Supported values:SALES_MANAGEMENT - Access to managing orders.CATALOG_MANAGEMENT - Managing catalog (products/variations/categories).MARKETING_MANAGEMENT - Managing marketing tools/SEO.REPORT_ACCESS - Access to stats/reports.WEBSITE_MANAGEMENT - Access to website settings (Instant Site Editor).SALES_CHANNELS_MANAGEMENT - Access to sales channels settings.STORE_MANAGEMENT Full Ecwid admin access including the #develop-apps page. |