BigCommerce - Install
Follow the steps below to install the Big Commerce Connector.
Install the connector as hosted service on an IIS website
Follow the guide Installe a eCommerce connector as hosted service
BigCommerce account
At the Big Commerce account create a “Store-level API account” with access level: “Channel settings” read-only and “Products” modify.
Set the “API path” and the “Access token” in the appsettings.json file
Logging and debugging
It is possible to enable logging/debugging via Serilog. To setup Serilog, add serilog configuration to the appsettings.json file. An example of a Serilog setup:
{
"AllowedHosts": "*",
"PerfionApi": {
"GetDataUri": "https://localhost:123/PerfionAPIService/perfion/getdata.asmx",
"PerfionToken": "iIsIlBlcmZpb25Vc2VyIjoiQWRtaW4iLCJpc3MiOiJQZXJmaW9uLkFQSVNlcnZpY2UiLCJhdWQiOiJQZXJmaW9uLkNsaWVudCJ9.OLQavtaPI6_D6OmYdR6tZzvyVZJIVMKp9Mw-rdbq7dc",
"Channel": "Channel A"
},
"BigCommerceApi": {
"BaseUri": "https://api.bigcommerce.com/stores/abcdefghij/v3/",
"AccessToken": "aabbccddeeffgghhiijj",
"UserAgent": "Perfion.BigCommerceConnector"
},
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"System": "Warning",
"Microsoft": "Warning"
}
},
"WriteTo": [
{
"Name": "File",
"Args": {
"path": "c:/temp/logs/log.txt",
"rollingInterval": "Day",
"fileSizeLimitBytes": null,
"retainedFileCountLimit": 15,
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] [{SourceContext}] [{RequestId}] : {Message} {Exception}{NewLine}"
}
}
]
}
}