1.0.19 • Published 11 months ago
smart-prestashop-api v1.0.19
@bsight/smart-prestashop-api
Smart PrestaShop API
Installation
$ npm i smart-prestashop-api
Features
- Communicate with prestashop webservice in javascript
Basic usage
const PrestaShop = require("smart-prestashop-api");
const options = {
url: 'http://my-prestashop.com/',
token: '<TOKEN>'
};
const clients = new PrestaShop(options);
await clients.get({
resource: 'customers',
display: 'full',
limit: 15
}
);
Different requests
get
Retrieves data from the resource passed in parameterpost
Create data with a bodyput
Modify data by entering a body and filtersdelete
Delete data by entering a body and filters like the put request
1.0.19
11 months ago
1.0.18
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.12
2 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago