Skip to content

Users

RO02 - List shop roles

Request

Call Frequency
Maximum usage: On each user role view
Read More
Security
Shop-API-Key(Required scopes: ROLE_PARTNER_SHOP_USER_CREATEROLE_SHOP_ADMIN)
Query
shop_idinteger, (int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

curl -i -X GET \
  'https://your-instance.mirakl.net/api/users/shops/roles?shop_id=0' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
rolesArray of objects
Response
{ "roles": [ { … }, { … }, { … }, { … }, { … } ] }