0.3.3 • Published 6 years ago
magento-api v0.3.3
Magento SOAP API Wrapper
This wrapper lets you talk to Magento via SOAP.
Installation
npm install git+ssh://git@bitbucket.org/icecom/magentoapi.git
Usage
var MagentoAPI = require('magento-api');
var magento = new MagentoAPI({
host: 'your.host',
port: 80,
path: '/api/xmlrpc/',
login: 'your_username',
pass: 'your_pass'
});
magento.login(function(err, sessId) {
if (err) {
// deal with error
return;
}
// use magento
});
If need be, you can manually change the session id.
magento.changeSession(newSessionId);
All of the API methods take an object of params as the first argument, and a callback as the second.
Or, if no params are sent, just a callback as the first argument.
Methods
- Catalog Category
- Catalog Category Attribute
- Catalog Product
- Catalog Product Attribute
- Catalog Product Attribute Media
- Catalog Product Attribute Set
- Catalog Product Custom Option
- Catalog Product Custom Option Value
- Catalog Product Downloadable Link
- Catalog Product Link
- Catalog Product Tag
- Catalog Product Tier Price
- Catalog Product Type
- Catalog Inventory Stock Item
- Checkout Cart
- Checkout Cart Coupon
- Checkout Cart Customer
- Checkout Cart Payment
- Checkout Cart Product
- Checkout Cart Shipping
- Core
- Customer
- Customer Address
- Customer Group
- Directory Country
- Directory Region
- Sales Order
- Sales Order Credit Memo
- Sales Order Invoice
- Sales Order Shipment
- Store
0.3.3
6 years ago
0.3.2
7 years ago
0.3.1
8 years ago
0.3.0
8 years ago
0.2.3
8 years ago
0.2.2
8 years ago
0.2.1
8 years ago
0.2.0
8 years ago
0.1.9
9 years ago
0.1.8
9 years ago
0.1.7
9 years ago
0.1.6
9 years ago
0.1.5
9 years ago
0.1.4
9 years ago
0.1.3
9 years ago
0.1.2
9 years ago
0.1.1
9 years ago
0.1.0
9 years ago
0.0.12
9 years ago
0.0.11
9 years ago
0.0.10
9 years ago
0.0.9
9 years ago
0.0.8
9 years ago
0.0.7
9 years ago
0.0.6
9 years ago