Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Can we use Partner API to get shop emails, phone, country of active merchants using our app?

Can we use Partner API to get shop emails, phone, country of active merchants using our app?

donotdont
Visitor
1 0 0

Could you help get phone, email, country, etc. from shop by using Partner API?

I have the code of GraphQL as

 

 

{
  app(id: "gid://partners/App/123456") {
    id
    name
    events(
      first: 10,
      types: [RELATIONSHIP_REACTIVATED],
      occurredAtMin: "2019-01-01T00:00:00Z",
      occurredAtMax: "2021-11-30T23:59:59Z"

) {
    pageInfo {
  hasNextPage
  hasPreviousPage
}
  edges {
    node {
      type
      occurredAt
      shop {
        id
        name
        myshopifyDomain
       
        phone
        email
        country
      }
     
      ... on RelationshipUninstalled {
        reason
        description
       
      }
    }
  }
}

  }
}

 

 

 

image (1).png

 

Thank you very much for help.

 

Reply 1 (1)

Luke_K
Shopify Staff
402 66 103

Hey @donotdont 

 

Thanks for getting in touch! I took a look and this doesn't look possible at present. Looks like it would only be possible to get that data via call to the GraphQL Admin API(docs)/ REST docs.

 

I know this has been raised in the past by our Partner community so I'll ensure the request for this is raised with our Product teams. Thank you. 

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!