1.0.4 • Published 3 years ago

sellix-api v1.0.4

Weekly downloads
3
License
MIT
Repository
-
Last release
3 years ago

sellix-api

Wrapper for the sellix.io REST API.

const { Sellix } = require('sellix-api')
const api = new Sellix(api_key)

Installation

npm install sellix-api --save

Sellix

All methods need a callback.

getProduct(id: string, callback: (err: any, product: IProduct) => any)

Retrieves a Product by its uniqid

getProducts(callback: (err: any, products: IProduct[]) => any)

Retrieves an array of all the Products.

getOrder(id: string, callback: (err: any, order: IOrder) => any)

Retrieves an Order by its uniqid

getOrders(callback: (err: any, orders: IOrder[]) => any)

Retrieves an array of all the Orders.

1.0.2

3 years ago

1.0.0

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago