Skip to main content
GET
/
stores
/
{storeId}
/
permissions
Get store permissions
curl --request GET \
  --url https://api.komerza.com/stores/{storeId}/permissions \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "code": "<string>",
  "data": {
    "isOwner": true,
    "permissions": [
      "<string>"
    ],
    "enabledPaymentMethods": [
      "<string>"
    ]
  }
}

This method returns scopes/permissions

This method can return permissions (otherwise known as scopes), you can learn more about scopes by clicking here.

Authorizations

Authorization
string
header
required

Your API key goes here

Path Parameters

storeId
string<uuid>
required

The ID of the store to get permissions for.

Response

The object was successfully returned.

Represents a default generic response for API endpoints.

success
boolean
required

Indicates whether the operation or response was successful.

message
string | null

A descriptive message providing additional context or information about the response.

code
string | null

The error code (if there was an error) to use when referencing the error

data
object

Response for a user to determine the permissions they have on the store