View Code? Open in Web Editor
NEW
Retail CRM API Client. Available latest v5 version.
License: MIT License
node-retailcrm-api's Introduction
- 👋 Hi, I’m @bump44
- 👀 I’m interested in //
- 🌱 I’m currently learning //
- 💞️ I’m looking to collaborate on //
- 📫 How to reach me:
-
node-retailcrm-api's People
Contributors
node-retailcrm-api's Issues
orders.fetchByExternalId doesn't work because you have to pass 'site' parameter into a body
I had to change the code to the following
var fetchByExternalId = function fetchByExternalId(externalId, siteCode) {
return {
uri: 'orders/' + externalId,
method: _constants.METHODS.GET,
qs: { by: 'externalId', site: siteCode }
};
};