#10256 [Shopify] Fix customer matching when phone numbers contain spaces
When exporting customers to Shopify, the connector now strips phone numbers down to the plus sign and digits before searching. It accepts a search result only if the phone or email matches exactly. Formatted phone numbers no longer match unrelated Shopify customers, which used to make the export get skipped with a misleading 'already exists' message.
- 4files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-08-19 by onbuyuka · 4 files (+188 -9), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Phone numbers are normalized to digits and plus sign before Shopify search
- Search results are validated for exact phone and email matches
- GraphQL queries now return phone and email fields for verification
- Test coverage added for phone normalization and partial match rejection
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 30114 “Shpfy Customer API”, Shopify: modified
Context
- Work items: AB#646794
- Labels: AL: Apps (W1), Team: Integrations
- Systems: integration
- From the description: “Normalize the phone to + and digits before sending it to Shopify”
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).