UNPKG

@stylusapparel/stylusop-api-node-wrapper

Version:

This is the official NodeJs wrapper for connecting to the StylusOP API

17 lines (16 loc) 508 B
'use strict'; module.exports.__defaults = Object.freeze({ LATEST_VERSION: 'v2', PAGINATION_MAX_LIMIT: 50, SUPPORTED_VERSIONS: ['v2'], TOKEN_VALIDATION_URI: '/auth/validate-token', ORDERS_URI: '/orders/', GET_ORDER_URI: '/orders/', GET_PRODUCTS_URI: '/products/', }); module.exports.sandbox = Object.freeze({ API_URL: 'https://stylusopapi-staging.stylusapparel.com/api/', }); module.exports.production = Object.freeze({ API_URL: 'https://stylusopapi-prod.stylusapparel.com/api/', });