1.4.2 • Published 9 years ago

zuora-soap v1.4.2

Weekly downloads
154
License
MIT
Repository
github
Last release
9 years ago

node_zuora

This is a node.js client library for interacting with the Zuora SOAP interface.

Installation

You probably want to install this package using npm

npm install zuora-soap

Configuration

You will need to get your config setup as follows:

  • Download your WSDL file by visiting Settings -> Z-Billing settings -> Download WSDL.
  • Create an API user account by visiting settings -> Admin settings -> Add single user Disable password expiry for API accounts.
  • You may also want to adjust session timeout from the 15 minute default to something longer. Visit Settings -> Administrative Settings -> Security Policies
  • Save the username and password of the API user with the path to your WSDL:
    {
      "user":     "zuora_api_user@my_favourite.com",
      "password": "password123",
      "wsdl":     "./etc/zuora.a.64.0.wsdl",
      "verboseLog": false
    }

Usage

Programmatic Usage

    var zuora = require('zuora');

    var config = require('your_config.json');

    zuora.connect(config, function(err, z) {
        if (err) return console.log('Error connecting:', err);
        var contactDetails = {
             FirstName: 'Homer',
             LastName:  'Simpson',
             WorkEmail: 'Homer@TheSimpsons.tv'
        };
        z.contact.create(contactDetails, function(err, result) {
            if (err) return console.log(err.message);
            z.query('select accountnumber from account where status = "Active"', function(err, result) {
                if (err) return console.log(err.message);
                // inspect result
            })
        })
    });

Object list

Zuora API documentation for complete information:

Check out the source documentation for docs on the API.

Alternatives

If this isn't your cup of tea when it comes to soap, then perhaps @Sparkida's Nuora, Nuora-MVC or @DeadAlready's Zuora with Rest may fit your tastes.

License

MIT.

Contributions are welcome

See https://github.com/joyent/node_zuora/issues.

1.4.2

9 years ago

1.4.0

9 years ago

1.3.1

9 years ago

1.3.0

10 years ago

1.2.0

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago