1.1.8 • Published 1 year ago
@nuskin/order-sdk v1.1.8
@nuskin/order-sdk
This should be a short paragraph describing what this module is for.
Installing
Usng npm:
npm add @nuskin/order-sdk
Usng yarn:
yarn add @nuskin/order-sdk
Example usage
import {OrderClient} from '@nuskin/order-sdk';
import {order} from '@nuskin/order-model';
const Order = order.Order;
const client = new OrderClient({
locale: 'en_US',
env: 'test',
clientId: 'clientIdforyourapp',
clientSecret: 'yourappsecret',
eid: 'userseid',
guestCheckout: false,
isSignup: false
});
const ord = new Order({orderObj...})
const updatedOrder = await client.orderSimulate(ord);
const createdOrder = await client.orderCreate(ord);
const updatedOrderStatus = await client.pollOrderStatus(ord.externalId);
Resources
License
1.1.8
1 year ago
1.1.7
1 year ago
1.1.6
2 years ago
1.1.6-cx16-9411.4
2 years ago
1.1.6-cx16-9411.3
2 years ago
1.1.6-cx16-9411.2
2 years ago
1.1.6-cx16-9411.1
2 years ago
1.1.5
2 years ago
1.1.4
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
1.1.1
2 years ago
1.1.0
2 years 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-cx16-9388.1
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago