Authentication > Roles > roles
Commerce APIAuthenticationRolesroles
roles
GET:roles.json

Description

Get all or specific roles.

This is a typical bulk get endpoint.

Permission bit: "roles.read"

Topic: Roles

Arguments

ids: [String!]

List of role ids. See also: Unique Identifiers


loose: Boolean

When asking for multiple items, allow returning less than was asked (in case some are missing)


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Result

[Role!]

Preview (typescript)

Loading module