public async void HandleProductUpdate([FromBody] HSProductUpdatePayload payload)
 {
     Console.WriteLine(payload);
     var update = new ProductHistory()
     {
         Action     = ActionType.Update,
         ResourceID = payload.Response.Body.ID,
         Resource   = payload.Response.Body,
     };
     await _productQuery.Put(update);
 }
        public async void HandlePriceScheduleUpdate([FromBody] WebhookPayloads.PriceSchedules.Patch payload)
        {
            var updatedPriceSchedule = await _oc.PriceSchedules.GetAsync(payload.Request.Body.ID);

            var update = new PriceScheduleHistory()
            {
                Action     = ActionType.Update,
                ResourceID = updatedPriceSchedule.ID,
                Resource   = updatedPriceSchedule,
            };
            await _priceScheduleQuery.Put(update);
        }