Closed KarolKier closed 4 years ago
Hi there!
Originally there was no Moltin API plugin either and I created one (Moltin released an official version much later). Refer to this folder in v1 of this project here to see how it worked.
You can create your own plugin - refer to here.
There are also several Drupal plugins which you can use as a guide to creating the one you need for Commerce API. Also check out this.
Once you have the plugin working you should be able to set up graphql queries that return data matching what I query from the Moltin API. Note that I query basic product information which I would expect any commerce platform to return. There are only a few queries you have to replace. Note that you may want to disable the authentication I have set up to keep things simple.
Once you have the above I would then start customizing the site for your own store.
Hello,
I really love your Gatsby starter theme, outstanding job!
I'm trying to figure out how to use Commerce API From Drupal Commerce to pull my 40 000 products instead of using Moltin API.
Documentation: https://www.drupal.org/docs/8/modules/commerce-api
Perhaps someone was trying to do something like this? unfortunately there is no Drupal Commerce starter which would solve the Shopping cart and order imports to Drupal Commerce backend.