...
At the Shopify account create a “App development” development (Develop apps)” with “Admin API integration” and give access to: write_products, write_inventory, write_publications .
...
Set the “API path” “BaseUri” and the “Access token” “AccessToken” in the appsettings.json file
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "AllowedHosts": "*", "PerfionApi": { "GetDataUri": "https://localhost:123/PerfionAPIService44311/perfion/getdata.asmx", "PerfionToken": "iIsIlBlcmZpb25Vc2VyIjoiQWRtaW4iLCJpc3MiOiJQZXJmaW9uLkFQSVNlcnZpY2UiLCJhdWQiOiJQZXJmaW9uLkNsaWVudCJ9.OLQavtaPI6_D6OmYdR6tZzvyVZJIVMKp9Mw-rdbq7dc", eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJBZG1pbiIsImp0aSI6IjkxYjA0NzNhLWM0Y2MtNDlkMy04YmIwLThmYTBlNTM5YjkxZSIsImlhdCI6MTcwNDg4NzQzNiwibmJmIjoxNzA0ODg3NDM2LCJleHAiOjE3OTEyODc0MzYsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJBZG1pbiIsIlBlcmZpb25Vc2VyIjoiQWRtaW4iLCJpc3MiOiJQZXJmaW9uLkFQSVNlcnZpY2UiLCJhdWQiOiJQZXJmaW9uLkNsaWVudCJ9.DNtuNhu7-0SSvMDQ3-WJDi-NhdBpZxMET3py2GQefPI", "Channel": "Shopify Channel A" }, "BigCommerceApiShopifyApi": { "BaseUri": "https://api.bigcommerce.com/stores/abcdefghij/v3perfion-test-dev.myshopify.com/", "AccessTokenTimeOut": "aabbccddeeffgghhiijj"789, "UserAgentAccessToken": "Perfion.BigCommerceConnector" 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" }, "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}" } } ] } } |
...