1.1.0 • Published 3 years ago
ordermentum-sdk v1.1.0
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
3 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.9-beta2
4 years ago
1.0.9-beta
4 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
0.2.12
8 years ago
0.2.11
8 years ago
0.2.10
8 years ago
0.2.9
8 years ago
0.2.8
8 years ago
0.2.7
8 years ago
0.2.6
8 years ago
0.2.5
8 years ago
0.2.4
8 years ago
0.2.3
8 years ago
0.2.2
8 years ago
0.2.1
8 years ago
0.2.0
8 years ago
0.1.21
8 years ago
0.1.20
8 years ago
0.1.19
8 years ago
0.1.18
8 years ago
0.1.17
8 years ago
0.1.16
8 years ago
0.1.15
8 years ago
0.1.14
8 years ago
0.1.13
8 years ago
0.1.12
8 years ago
0.1.11
8 years ago
0.1.8
8 years ago
0.1.9
8 years ago
0.1.7
8 years ago