Connecting your marketplace homepage to merchant stores
What you'll learnAnchor link to section titled "What you'll learn"
After finishing this tutorial, you'll know how to do the following:
- Connect your existing marketplace to merchants' stores
RequirementsAnchor link to section titled "Requirements"
You have a buyer-facing marketplace.
You've completed the tutorial for creating a channel app experience.
Step 1: Connect to a merchant's storeAnchor link to section titled "Step 1: Connect to a merchant's store"
Connect to a merchant's store using the following URI and headers. The
storefrontAccessToken are taken from your database.
Step 2: Retrieve dataAnchor link to section titled "Step 2: Retrieve data"
Use a GraphQL query to retrieve the list of products that the merchant has published to your channel app.
For example, the following query retrieves basic shop details and the first four products:
The homepage of your marketplace might now look something like the following: