Get staff account scopes

GET https://app.ecwid.com/api/v3/{storeId}/profile/staffScopes

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"
    ]
}

Required access scopes

Your app must have the following access scopes to make this request: read_store_profile, read_staff

Path params

All path params are required.

Param
Type
Description

storeId

number

Ecwid store ID.

Headers

The Authorization header is required.

Header
Format
Description

Authorization

Bearer secret_ab***cd

Access token of the application.

Response JSON

A JSON object with the following fields:

Field
Type
Description

staffScopes

array of strings

List of all permissions that can be given to staff accounts in the store. 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.

Last updated

Was this helpful?