How to get the shop owner Firstname and lastname using graphql api

Hi all ,

I want to get the shopwner firstname and lastname. I have try to access the shop object but not able to get the shop ower data.

do i need to access the all custom ?

here sample code i am try to access with graphQl.

{
  shop
  
  {
    email
    customerAccounts
    
   contactEmail
    features {
      avalaraAvatax
      branding
      
    }
    name 
    
    myshopifyDomain
    url
    setupRequired 
    description
billingAddress
    {
      company
      city
      country
      address1
      address2
      formattedArea
      phone
      zip
      provinceCode
    }
  }
}

This isn’t information that you’re able to get through the API for all stores.

If the shop is on the Advanced or Plus plans, you can use the StaffMember resource in GraphQL to get the information that you’re looking for.

@Shayne Thanks for the answer, I understand. but there is any way to get the user are accessing the app access user name I can and automate chat bot replay to user if they need help. same as shopify app support making the user name and store url email automatic fill i want slimier things.

You can get the shop email as a part of the shop object — but you can’t get the merchants name unless they’re on a plan that supports the StaffMember resource.