syncs to latest API changes and fixes misspelled function names
Merge pull request #3 from xplenty/sync-api

syncs to latest API changes and fixes misspelled function names