Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

๐Ÿš€ Gatsby source plugin for building Elastic Path Commerce Cloud powered eCommerce websites

License

Notifications You must be signed in to change notification settings

moltin/gatsby-source-moltin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

42 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Elastic Path Commerce Cloud gatsby-source-moltin

Stable Branch License: MIT contributions welcome follow on Twitter

๐Ÿš€ Gatsby source plugin for building Elastic Path Commerce Cloud powered eCommerce websites.

Install

yarn add @moltin/gatsby-source-moltin

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `@moltin/gatsby-source-moltin`,
    options: {
      client_id: '...'
    },
  },
],

How to query

{
  allMoltinProduct {
    edges {
      node {
        id
        name
        description
        slug
        sku
        categories {
          id
          name
        }
      }
    }
  }
}

Terms And Conditions

  • Any changes to this project must be reviewed and approved by the repository owner. For more information about contributing, see the Contribution Guide.
  • For more information about the license, see MIT License.