---
id: change/bcapps/14282
type: change
title: "#14282 [Shopify] Check staff access independently of plan detection"
summary: Shopify connector now checks staff member access independently through API queries instead of relying solely on plan detection, preventing import failures when Shopify denies access despite showing Advanced plan status.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit shpfy communication mgt.
  - codeunit shpfy upgrade mgt.
  - page shpfy shop card
  - table shpfy shop
  - enum shpfy graphql type
  - codeunit shpfy import order
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-12-02T01:06:00.421Z"
  flags: []
generated:
  at: "2026-12-02T00:15:44.908Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: bdb06928d5d32a2804280ff75e57ec9143bbc8f4
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14282
    title: "microsoft/BCApps#14282: [Shopify] Check staff access independently of plan detection"
    date: "2026-12-01"
    commit: bdb06928d5d32a2804280ff75e57ec9143bbc8f4
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/30103
    - object/codeunit/30106
    - object/page/30101
    - object/table/30102
    - object/enum/30111
    - object/codeunit/30161
    - object/codeunit/30105
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-extending-shopify
      title: Extending Shopify
      label: possibly related
      why: touches Table 30102 "Shpfy Shop"
      by: code
number: 14282
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14282
kind: pr
base_branch: main
major: "30"
merged_at: "2026-12-01T12:16:45Z"
author: onbuyuka
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 10
  additions: 277
  deletions: 34
  al: 7
apps:
  - Shopify
objects_touched:
  - key: codeunit/30103
    page: codeunit/30103
    type: codeunit
    id: 30103
    name: Shpfy Communication Mgt.
    app: Shopify
    status: modified
  - key: codeunit/30106
    page: codeunit/30106
    type: codeunit
    id: 30106
    name: Shpfy Upgrade Mgt.
    app: Shopify
    status: modified
  - key: page/30101
    page: page/30101
    type: page
    id: 30101
    name: Shpfy Shop Card
    app: Shopify
    status: modified
  - key: table/30102
    page: table/30102
    type: table
    id: 30102
    name: Shpfy Shop
    app: Shopify
    status: modified
  - key: enum/30111
    page: enum/30111
    type: enum
    id: 30111
    name: Shpfy GraphQL Type
    app: Shopify
    status: modified
  - key: codeunit/30161
    page: codeunit/30161
    type: codeunit
    id: 30161
    name: Shpfy Import Order
    app: Shopify
    status: modified
  - key: codeunit/30105
    page: codeunit/30105
    type: codeunit
    id: 30105
    name: Shpfy Staff Member API
    app: Shopify
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 659801
systems:
  - integration
quote: null
joined_against:
  major: "30"
  commit: f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671
---

# #14282 [Shopify] Check staff access independently of plan detection

> Shopify connector now checks staff member access independently through API queries instead of relying solely on plan detection, preventing import failures when Shopify denies access despite showing Advanced plan status.

[Pull request](https://github.com/microsoft/BCApps/pull/14282) · merged into `main` (BC30) on 2026-12-01 by onbuyuka · 10 files (+277 -34), 7 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- New Boolean field 'Can Access Staff Members' tracks actual staff access permission separately from plan type
- Staff access verified via GraphQL query whenever shop settings are refreshed, only for eligible plans
- Order queries, salesperson mapping, and staff sync now use the new flag instead of plan-based detection
- Plan type flag and B2B catalog behavior remain unchanged for backward compatibility
- Upgrade seeds the new field from existing plan flag; no network calls during upgrade process
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 30103 "Shpfy Communication Mgt."](../../objects/codeunit/30103.md), Shopify: modified
- [Codeunit 30106 "Shpfy Upgrade Mgt."](../../objects/codeunit/30106.md), Shopify: modified
- [Page 30101 "Shpfy Shop Card"](../../objects/page/30101.md), Shopify: modified
- [Table 30102 "Shpfy Shop"](../../objects/table/30102.md), Shopify: modified
- [Enum 30111 "Shpfy GraphQL Type"](../../objects/enum/30111.md), Shopify: modified
- [Codeunit 30161 "Shpfy Import Order"](../../objects/codeunit/30161.md), Shopify: modified
- [Codeunit 30105 "Shpfy Staff Member API"](../../objects/codeunit/30105.md), Shopify: modified

## Context

- Work items: AB#659801
- Labels: AL: Apps (W1), Team: Integrations
- Systems: integration

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Extending Shopify](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-extending-shopify) — possibly related: touches Table 30102 "Shpfy Shop"

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
