/gatsby-source-moltin

🚀 Gatsby source plugin for building Elastic Path Commerce Cloud powered eCommerce websites

Primary LanguageJavaScriptMIT LicenseMIT

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.