UNPKG

@stylusapparel/opv3-merchant-api-nodejs

Version:

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

14 lines (13 loc) 468 B
// Set the API URL to the local API for testing in development const API_URL = process.env.STYLUSOP_API_URL = 'http://localhost:3600/api/'; const MERCHANT_ID = 463207; // <YOUR_MERCHANT_ID> const MERCHANT_NAME = 'merchanttest'; // <YOUR_MERCHANT_NAME> const MERCHANT_SECRET = 'qegp2uvummVpM1Yq3ysMkjOIseRSCHSa'; // <YOUR_SECRET_TOKEN> const LIMIT_ORDERS = 2; module.exports = { API_URL, MERCHANT_ID, MERCHANT_NAME, MERCHANT_SECRET, LIMIT_ORDERS };