---
title: "James Peters (@jamespeters) | Hashnode"
description: "James Peters (@jamespeters) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@jamespeters"
---

@jamespeters

# James Peters

@jamespeters · Joined January 2021

## Comments

[Tapas Adhikary, thanks for the fast reply! I'm loading the products directly from Gatsby graphql by using the gatsby-source-contentful plugin. So if I understood correctly, I will have to use Apollo Client inside the checkout function to query Contentful and get the inventory?](https://hashnode.com/posts/how-to-create-a-jamstack-pet-store-app-using-stripe-gatsbyjs-and-netlify-functions/5ffe9522c162d710c9b13855/comment/600b5d78a9a6c21e4fa4574c#reply-600bfcc88304951e7434eb33)

Reply · Article · Jan 23, 2021 · [How to create a Jamstack pet store app using Stripe, Gatsbyjs, and Netlify functions](https://hashnode.com/posts/how-to-create-a-jamstack-pet-store-app-using-stripe-gatsbyjs-and-netlify-functions/5ffe9522c162d710c9b13855)

[Great guide man, thanks for writing it! It works great when you manually add the products through products.json, but I am currently trying to use this is on a website where I am getting the product data from Contentful / graphql. How would I go about adding the products from the graphql query to products.json or the checkout function? Thanks again and sorry if this is a stupid question but I'm fairly new to web development.](https://hashnode.com/posts/how-to-create-a-jamstack-pet-store-app-using-stripe-gatsbyjs-and-netlify-functions/5ffe9522c162d710c9b13855/comment/600b5d78a9a6c21e4fa4574c)

Comment · Article · Jan 22, 2021 · [How to create a Jamstack pet store app using Stripe, Gatsbyjs, and Netlify functions](https://hashnode.com/posts/how-to-create-a-jamstack-pet-store-app-using-stripe-gatsbyjs-and-netlify-functions/5ffe9522c162d710c9b13855)
