1.0.18 • Published 8 months ago

smart-prestashop-api v1.0.18

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

@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 parameter
  • post Create data with a body
  • put Modify data by entering a body and filters
  • delete Delete data by entering a body and filters like the put request
1.0.18

8 months ago

1.0.17

8 months ago

1.0.16

8 months ago

1.0.15

9 months ago

1.0.14

9 months ago

1.0.13

9 months ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.12

1 year ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago