Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

channeladvisor2

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

channeladvisor2

API wrapper for ChannelAdvisor's SOAP service

  • 0.2.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

channeladvisor2

ivan's fork and complete rewrite of the node-channeladvisor library


This is a wrapper around the ChannelAdvisor SOAP API.

While it is pretty simple to use the soap module to make SOAP calls to ChannelAdvisor, there is some boilerplate for setting up the clients which this project aims to eliminate.


channeladvisor = require('channeladvisor2')

opts =
    developerKey: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    password: "Password!123"

channeladvisor.create opts, (err, ca) ->
    ca.AdminService.GetAuthorizationList (err, result) ->
        console.log result

install

npm install channeladvisor2

api

The complete documentaion of ChannelAdvisor's SOAP API is available at the ChannelAdvisor Developer Network (CADN).

This module exposes each service as a child object of a ChannelAdvisor instance. These are the implemented services:

  • AdminService
  • FulfillmentService
  • InventoryService
  • ListingService
  • MarketplaceAdService
  • OrderService
  • ShippingService
  • CartService
  • StoreService (DEPRECATED, according to CADN)
  • TaxService (DEPRECATED, according to CADN)

Each service object contains methods for each operation that is described in the CADN documentation. The methods are named exactly as they appear in the documentation. For example:

  • AdminService
    • GetAuthorizationList
    • RequestAccess
    • Ping

Each method takes an optional args object and a required callback function.

Example:

opts =
    localID: 9999999

ca.AdminService.RequestAccess opts, (err, result) ->
    console.log result

If the operation does not require any arguments then you may just specify the callback function.

Example:

ca.InventoryService.Ping (err, result) ->
    console.log result

note

I am not affiliated in any way with ChannelAdvisor. This library is named "channeladvisor2" to specify that this is a derivative of the "channeladvisor" library, and so people can find this library easier.

license

MIT

Keywords

FAQs

Package last updated on 27 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc