@stylusapparel/opv3-merchant-api-nodejs
Version:
This is the official NodeJs wrapper for connecting to the StylusOP API V3
19 lines (18 loc) • 540 B
JavaScript
;
module.exports.__defaults = Object.freeze({
LATEST_VERSION: 'v3',
PAGINATION_MAX_LIMIT: 50,
SUPPORTED_VERSIONS: ['v3'],
TOKEN_VALIDATION_URI: '/auth/verify-token',
OAUTH_REQUEST_TOKEN_URI: '/auth/token',
ORDERS_URI: '/orders',
PRODUCTS_URI: '/products',
INVENTORY_URI: '/stock',
SHIPMENT_URI: '/shipments',
});
module.exports.sandbox = Object.freeze({
API_URL: 'https://opapi-staging.stylusapparel.com/api/',
});
module.exports.production = Object.freeze({
API_URL: 'https://opapi-prod.stylusapparel.com/api/',
});