Custom Webhook Receiver in .Net big-commerce

93 views Asked by At

I'm trying to create webhooks receiver for bigcommerce webhooks.

public override Task ExecuteAsync(string receiver, WebHookHandlerContext 
  context)
        {
            string action = context.Actions.First();
            JObject data = context.GetDataOrDefault<JObject>();
            var dataAsString = Newtonsoft.Json.JsonConvert.SerializeObject(data);
            return Task.FromResult(true);

        }

my function not hit.

0

There are 0 answers