Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Why is my Marketplace Kit GraphQL query not working correctly?

Why is my Marketplace Kit GraphQL query not working correctly?

mark_marionet
Shopify Partner
3 0 4

Hello everyone,

 

I want people to be able to import their Shopify data into our own app, where people can buy the same products. I want to also sync the supply between our app and the clients Shopify store.

 

The Marketplace Kit seems to be perfect for this. There are however 2 problems that I am facing.

 

1. On the 'Home' component, there seems to be an error related to this GraphQL query:

const HOME_PAGE_QUERY = gql`
  query HomePageQuery {
    adminShop {
      id
      domain
      appHandle
      publicationId
      availableProductCount
      onboardingInfoCompleted
      onboardingCompleted
    }
  }
`;

This call seems to fail. There are also issues describing the exact same problem. How do I fix this?

2. The app was made using Shopify CLI 2. I get a message in the terminal when starting the app that support for Shopify CLI 2 is being dropped on the 31st of May this year. Will this be a problem to support this app?

 

Is the Marketplace Kit still the way to go, or would it be better to create a regular app and create the sync logic ourselves for our use case? Any support for this issue would be greatly appreciated.

 

Thanks!

Reply 1 (1)

TafsirMAhmed
Shopify Partner
1 0 0

Any luck with a response?