Menu
currentStaffMember
The staff member whose access token is making the request.
Use it in a workflow
- Add a step and choose the Shopify connector.
- Pick the currentStaffMember action (under Current).
- Fill in the fields below, then reference the result from later steps as
{{currentstaffmember.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.
query CurrentStaffMember {
currentStaffMember {
accountType
active
email
exists
firstName
id
initials
isShopOwner
lastName
locale
name
phone
privateData {
accountSettingsUrl
createdAt
permissions
}
}
}
Response
Read the result with {{currentstaffmember.response.data.data.currentStaffMember}}. If the API returns errors, the step fails and they are at {{currentstaffmember.response.data.errors}}.
Need more? See the Shopify guide for connection setup and behaviour shared by every action.
Was this page helpful?