1.1.0 • Published 2 years ago

ordermentum-sdk v1.1.0

Weekly downloads
1,083
License
MIT
Repository
github
Last release
2 years ago

Ordermentum Node.js SDK

Node.js SDK for the Ordermentum

Getting started

curl \
  -X POST \
  -d username=example@example.com \
  -d password=secret \
  -d grant_type=password \
  "https://app.ordermentum.com/v1/auth"
import createClient from 'ordermentum-sdk';

const client = createClient({
  token: '[TOKEN]',
});

Products

const products = client.products.findAll({ supplierId: '' });

const response = client.products.create({

});

Orders

const orders = client.orders.findAll({ supplierId: '' });

const response = client.orders.update(id, {

});

Invoices

const invoices = client.invoices.findAll({ supplierId: '' });

const response = client.invoices.update(id, {

});
1.1.0

2 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.9-beta2

3 years ago

1.0.9-beta

3 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

0.2.12

7 years ago

0.2.11

7 years ago

0.2.10

7 years ago

0.2.9

7 years ago

0.2.8

7 years ago

0.2.7

7 years ago

0.2.6

7 years ago

0.2.5

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.21

7 years ago

0.1.20

7 years ago

0.1.19

7 years ago

0.1.18

7 years ago

0.1.17

7 years ago

0.1.16

7 years ago

0.1.15

7 years ago

0.1.14

7 years ago

0.1.13

7 years ago

0.1.12

7 years ago

0.1.11

7 years ago

0.1.8

7 years ago

0.1.9

7 years ago

0.1.7

7 years ago