---
title: "Codeunit 30198 Shpfy Sync Shop Locations, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/points/
object: https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/
app: "Shopify Connector"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/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 30198 Shpfy Sync Shop Locations, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/points/

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

## OnRun

[Line 16](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L16), trigger.

- [19](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L19) calls [Codeunit 30103 Shpfy Communication Mgt.](https://jonas-paprotka.de/ref/codeunit/30103-shpfy-communication-mgt/) `SetShop`
- [20](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L20) calls `SyncLocations`
- [21](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L21) calls `UpdateFulfillmentServiceCallbackUrl`

## ImportLocation

[Line 36](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L36), internal.

- [43](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L43) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetJsonValue`
- [51](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L51) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetValueAsText`
- [53](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L53) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetValueAsBoolean`
- [54](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L54) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetValueAsBoolean`
- [55](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L55) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetJsonToken`
- [58](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L58) calls [Codeunit 30103 Shpfy Communication Mgt.](https://jonas-paprotka.de/ref/codeunit/30103-shpfy-communication-mgt/) `GetIdOfGId`
- [58](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L58) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetValueAsText`
- [59](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L59) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetValueAsText`
- [62](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L62) writes [Table 30113 Shpfy Shop Location](https://jonas-paprotka.de/ref/table/30113-shpfy-shop-location/) Insert
- [64](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L64) writes [Table 30113 Shpfy Shop Location](https://jonas-paprotka.de/ref/table/30113-shpfy-shop-location/) Modify
- [66](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L66) writes [Table 30113 Shpfy Shop Location](https://jonas-paprotka.de/ref/table/30113-shpfy-shop-location/) Delete

## SyncLocations

[Line 74](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L74), internal.

- [89](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L89) writes [Table 30113 Shpfy Shop Location](https://jonas-paprotka.de/ref/table/30113-shpfy-shop-location/) Insert
- [94](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L94) calls [Codeunit 30103 Shpfy Communication Mgt.](https://jonas-paprotka.de/ref/codeunit/30103-shpfy-communication-mgt/) `ExecuteGraphQL`
- [96](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L96) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetJsonObject`
- [97](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L97) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetValueAsText`
- [103](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L103) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetJsonArray`
- [104](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L104) calls `ImportLocation`
- [106](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L106) calls `HasNextResults`
- [111](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L111) writes [Table 30113 Shpfy Shop Location](https://jonas-paprotka.de/ref/table/30113-shpfy-shop-location/) Delete(true)

## UpdateFulfillmentServiceCallbackUrl

[Line 115](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L115), internal.

- [125](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L125) calls `GetFulfillmentServiceName`
- [130](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L130) calls `GetFulfillmentService`
- [135](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L135) calls `GetFulfillmentServiceCallbackUrl`
- [140](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L140) calls `GetFulfillmentServiceCallbackUrl`
- [141](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L141) calls [Codeunit 30103 Shpfy Communication Mgt.](https://jonas-paprotka.de/ref/codeunit/30103-shpfy-communication-mgt/) `ExecuteGraphQL`
- [143](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L143) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetJsonValue`
- [145](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L145) writes [Table 30113 Shpfy Shop Location](https://jonas-paprotka.de/ref/table/30113-shpfy-shop-location/) Modify

## GetFulfillmentService

[Line 149](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L149), local.

- [159](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L159) calls [Codeunit 30103 Shpfy Communication Mgt.](https://jonas-paprotka.de/ref/codeunit/30103-shpfy-communication-mgt/) `ExecuteGraphQL`
- [161](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L161) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetJsonObject`
- [162](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L162) writes [Table 30113 Shpfy Shop Location](https://jonas-paprotka.de/ref/table/30113-shpfy-shop-location/) Delete(true)
- [166](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L166) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetJsonObject`
- [169](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L169) calls [Codeunit 30103 Shpfy Communication Mgt.](https://jonas-paprotka.de/ref/codeunit/30103-shpfy-communication-mgt/) `GetIdOfGId`
- [169](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L169) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetValueAsText`
- [170](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L170) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetValueAsText`
- [171](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L171) writes [Table 30113 Shpfy Shop Location](https://jonas-paprotka.de/ref/table/30113-shpfy-shop-location/) Modify

## HasNextResults

[Line 174](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L174), local.

- [176](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L176) calls [Codeunit 30157 Shpfy Json Helper](https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/) `GetValueAsBoolean`

## SetShop

[Line 179](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L179), internal.

- [182](https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/source/#L182) calls [Codeunit 30103 Shpfy Communication Mgt.](https://jonas-paprotka.de/ref/codeunit/30103-shpfy-communication-mgt/) `SetShop`

## Source

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

JOP-AL, 2026-11-20.
