This hook allows you to use Magento 2 Rest API with strapi.
# using yarn
yarn add strapi-hook-magento
# using npm
npm install strapi-hook-magento --save
To activate and configure the hook, you need to create or update the file ./config/hook.js
in your strapi app.
module.exports = {
settings: {
// ...
magento: {
enabled: true,
clients: [
[
"v-media.pl",
{
url: "https://v-media.pl",
consumerKey: "",
consumerSecret: "",
accessToken: "",
accessTokenSecret: "",
},
],
],
},
},
};