younifyd
Menu

permission

Find a Permission entity.

Use it in a workflow

  1. Add a step and choose the Fluent Commerce connector.
  2. Pick the permission action (under Permission).
  3. Fill in the fields below, then reference the result from later steps as {{permission.response.data}}.

Query

This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.

graphql
query Permission($name: String!) {
  permission(name: $name) {
    name
  }
}

Variables

Pass these as a JSON object in the step's Variables field.

namestringrequired

Name of the permission

json
{
  "name": "string"
}

Response

Read the result with {{permission.response.data.data.permission}}. If the API returns errors, the step fails and they are at {{permission.response.data.errors}}.

namestring

Need more? See the Fluent Commerce guide for connection setup and behaviour shared by every action.

Was this page helpful?