---
title: "Codeunit 30269 Shpfy Webhooks Mgt., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/points/
object: https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/
app: "Shopify Connector"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 30269 Shpfy Webhooks Mgt., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/points/

15 procedures and triggers with a step in src/Apps/W1/Shopify/App/src/Webhooks/Codeunits/ShpfyWebhooksMgt.Codeunit.al, in source order, read from the text, not from a run.

## HandleOnWebhookNotificationInsert

[Line 28](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L28), local.

- [47](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L47) calls `ProcessCompanyWebhookNotification`

## ProcessCompanyWebhookNotification

[Line 51](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L51), local.

- [55](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L55) raises `OnScheduleWebhookNotificationTask`
- [57](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L57) runs [Codeunit 30363 Shpfy Webhook Notification](https://jonas-paprotka.de/ref/codeunit/30363-shpfy-webhook-notification/)

## EnableWebhook

[Line 65](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L65), internal.

- [72](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L72) calls `GetShopDomain`
- [74](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L74) writes [Table 2000000199 Webhook Subscription](https://jonas-paprotka.de/ref/table/2000000199-webhook-subscription/) Delete
- [76](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L76) calls [Codeunit 30251 Shpfy Webhooks API](https://jonas-paprotka.de/ref/codeunit/30251-shpfy-webhooks-api/) `GetWebhookSubscription`
- [77](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L77) calls [Codeunit 30251 Shpfy Webhooks API](https://jonas-paprotka.de/ref/codeunit/30251-shpfy-webhooks-api/) `DeleteWebhookSubscription`
- [78](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L78) calls [Codeunit 30251 Shpfy Webhooks API](https://jonas-paprotka.de/ref/codeunit/30251-shpfy-webhooks-api/) `RegisterWebhookSubscription`
- [80](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L80) calls `CreateWebhookSubscription`
- [82](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L82) calls `ChangePrevWebhookUserId`

## EnableBulkOperationWebhook

[Line 88](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L88), internal.

- [90](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L90) calls `EnableWebhook`
- [91](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L91) writes [Table 30102 Shpfy Shop](https://jonas-paprotka.de/ref/table/30102-shpfy-shop/) Modify

## DisableBulkOperationsWebhook

[Line 94](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L94), internal.

- [102](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L102) calls `GetShopDomain`
- [125](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L125) writes [Table 2000000199 Webhook Subscription](https://jonas-paprotka.de/ref/table/2000000199-webhook-subscription/) Delete
- [127](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L127) calls [Codeunit 30251 Shpfy Webhooks API](https://jonas-paprotka.de/ref/codeunit/30251-shpfy-webhooks-api/) `TryDeleteWebhookSubscription`
- [131](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L131) writes [Table 2000000199 Webhook Subscription](https://jonas-paprotka.de/ref/table/2000000199-webhook-subscription/) Modify
- [137](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L137) writes [Table 30102 Shpfy Shop](https://jonas-paprotka.de/ref/table/30102-shpfy-shop/) Modify

## EnableOrderCreatedWebhook

[Line 141](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L141), internal.

- [145](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L145) calls `EnableWebhook`
- [145](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L145) calls `GetOrderCreatedWebhookUser`
- [146](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L146) writes [Table 30102 Shpfy Shop](https://jonas-paprotka.de/ref/table/30102-shpfy-shop/) Modify
- [147](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L147) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUptake`

## DisableOrderCreatedWebhook

[Line 150](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L150), internal.

- [158](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L158) calls `GetShopDomain`
- [181](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L181) writes [Table 2000000199 Webhook Subscription](https://jonas-paprotka.de/ref/table/2000000199-webhook-subscription/) Delete
- [183](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L183) calls [Codeunit 30251 Shpfy Webhooks API](https://jonas-paprotka.de/ref/codeunit/30251-shpfy-webhooks-api/) `TryDeleteWebhookSubscription`
- [187](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L187) writes [Table 2000000199 Webhook Subscription](https://jonas-paprotka.de/ref/table/2000000199-webhook-subscription/) Modify
- [193](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L193) writes [Table 30102 Shpfy Shop](https://jonas-paprotka.de/ref/table/30102-shpfy-shop/) Modify

## HandleOnCompanyBeforeDelete

[Line 198](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L198), local.

- [209](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L209) calls [Codeunit 2300 Tenant License State](https://jonas-paprotka.de/ref/codeunit/2300-tenant-license-state/) `GetLicenseState`
- [214](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L214) calls `DisableOrderCreatedWebhook`
- [215](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L215) calls `DisableBulkOperationsWebhook`

## CreateWebhookSubscription

[Line 220](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L220), local.

- [224](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L224) calls `GetShopDomain`
- [229](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L229) writes [Table 2000000199 Webhook Subscription](https://jonas-paprotka.de/ref/table/2000000199-webhook-subscription/) Insert

## SetOrderCreatedWebhookSubscriptionUserAsCurrentUser

[Line 232](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L232), local.

- [237](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L237) calls [Codeunit 5377 Webhook Management](https://jonas-paprotka.de/ref/codeunit/5377-webhook-management/) `IsValidNotificationRunAsUser`
- [238](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L238) validates [Table 30102 Shpfy Shop](https://jonas-paprotka.de/ref/table/30102-shpfy-shop/) `Order Created Webhook User Id`
- [239](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L239) writes [Table 30102 Shpfy Shop](https://jonas-paprotka.de/ref/table/30102-shpfy-shop/) Modify

## GetOrderCreatedWebhookUser

[Line 245](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L245), local.

- [250](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L250) calls `SetOrderCreatedWebhookSubscriptionUserAsCurrentUser`

## ProcessOrderCreatedNotification

[Line 253](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L253), internal.

- [265](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L265) calls [Table 472 Job Queue Entry](https://jonas-paprotka.de/ref/table/472-job-queue-entry/) `GetXmlContent`
- [270](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L270) calls [Codeunit 30101 Shpfy Background Syncs](https://jonas-paprotka.de/ref/codeunit/30101-shpfy-background-syncs/) `SyncAllOrders`

## ProcessBulkOperationNotification

[Line 273](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L273), internal.

- [286](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L286) calls [Codeunit 30270 Shpfy Bulk Operation Mgt.](https://jonas-paprotka.de/ref/codeunit/30270-shpfy-bulk-operation-mgt/) `ProcessBulkOperationNotification`

## ChangePrevWebhookUserId

[Line 289](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L289), local.

- [303](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L303) validates [Table 30102 Shpfy Shop](https://jonas-paprotka.de/ref/table/30102-shpfy-shop/) `Order Created Webhook User Id`
- [304](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L304) writes [Table 30102 Shpfy Shop](https://jonas-paprotka.de/ref/table/30102-shpfy-shop/) Modify
- [315](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L315) validates [Table 30102 Shpfy Shop](https://jonas-paprotka.de/ref/table/30102-shpfy-shop/) `Bulk Operation Webhook User Id`
- [316](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L316) writes [Table 30102 Shpfy Shop](https://jonas-paprotka.de/ref/table/30102-shpfy-shop/) Modify

## TestOrderCreatedWebhookConnection

[Line 327](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L327), internal.

- [337](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L337) calls `GetShopDomain`
- [341](https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/source/#L341) calls [Codeunit 30251 Shpfy Webhooks API](https://jonas-paprotka.de/ref/codeunit/30251-shpfy-webhooks-api/) `GetWebhookSubscription`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
