Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »

Follow the steps below to install the Shopify Connector.

Install the connector as hosted service on an IIS website

Follow the guide Installe a eCommerce connector as hosted service

Shopify account

At the Shopify account create a “App development” with “Admin API integration” and access to: write_products, write_inventory, write_publications .

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}"
        }
      }
    ]
  }
}

  • No labels