Package Exports
- strapi-hook-magento
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (strapi-hook-magento) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
strapi-hook-magento
This hook allows you to use Magento 2 Rest API with strapi.
Installation
# using yarn
yarn add strapi-hook-magento
# using npm
npm install strapi-hook-magento --save
Hook config
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: "",
},
],
],
},
},
};