@sejazipper/magento-integration
TypeScript icon, indicating that this package has built-in type declarations

1.0.17 • Public • Published

zipper-magento-integration

zipper-magento-integration

Installation

The library can be installed using the Npm package manager:

    npm install --save github:zipper-team/zipper-magento-integration

Usage

The code sample below shows the usage of the library:

const { MagentoIntegration } = require("zipper-magento-integration");

const options = {
  url: 'http://www.test.com/index.php/rest',
  consumerKey: '<OAuth 1.0a consumer key>',
  consumerSecret: '<OAuth 1.0a consumer secret>',
  accessToken: '<OAuth 1.0a access token>',
  accessTokenSecret: '<OAuth 1.0a access token secret>',
};
const client = MagentoIntegration(options);

const stores = await client.product.saveForStores([...products], { storeNames: [...storeNames]});

Package Sidebar

Install

npm i @sejazipper/magento-integration

Weekly Downloads

0

Version

1.0.17

License

MIT

Unpacked Size

196 kB

Total Files

71

Last publish

Collaborators

  • ryan.vieira
  • devzipper