1sc-api 中文文档教程
1SC-API
1 个购物车的节点 API
Get Started
// One Shopping Cart api
var OneShopClass=require('1sc-api');
// Get instance of api -- passing it access credentials
var OneShopApi = new OneShopClass({
merchantId: 'YOUR MERCHANT ID',
merchantKey: 'YOUR MERCHANT KEY',
apiUri: 'https://www.mcssl.com'
});
// Implements Promises
api.getClientById(123456)
.then(function(clientXML){
// parse clientXML with your favorite xml to json converter
},function(err){
// handle error
});
1SC-API
Node API for 1 Shopping Cart
Get Started
// One Shopping Cart api
var OneShopClass=require('1sc-api');
// Get instance of api -- passing it access credentials
var OneShopApi = new OneShopClass({
merchantId: 'YOUR MERCHANT ID',
merchantKey: 'YOUR MERCHANT KEY',
apiUri: 'https://www.mcssl.com'
});
// Implements Promises
api.getClientById(123456)
.then(function(clientXML){
// parse clientXML with your favorite xml to json converter
},function(err){
// handle error
});
更多
你可能也喜欢
- 3vbyq06j1lssbvjrabcl5i1edem06ois 中文文档教程
- 67168843dda5a1972a3a2b0a3e4ebba5 中文文档教程
- @0x-lerna-fork/npm-dist-tag 中文文档教程
- @0x/contracts-protocol 中文文档教程
- @3yourmind/vue-yodify 中文文档教程
- @4tw/vue-cli-plugin-pdfjs-viewer 中文文档教程
- @5ire/types 中文文档教程
- @a.grisevich/ng-zorro-antd 中文文档教程
- @a2670392079/react-toolkit 中文文档教程
- @a9g/plop-generator-react-atomic-component 中文文档教程