cli icon indicating copy to clipboard operation
cli copied to clipboard

Fetch organization details from Organizations API

Open gonzaloriestra opened this issue 2 months ago β€’ 2 comments

Related to https://github.com/shop/issues-develop/issues/21256

WHY are these changes introduced?

We are using Destinations API to fetch organization details, but that's not the right API to use for that (Documentation).

WHAT is this pull request doing?

Switch to Organizations API.

How to test your changes?

p shopify app deploy

Measuring impact

How do we know this change was effective? Please choose one:

  • [x] n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
  • [ ] Existing analytics will cater for this addition
  • [ ] PR includes analytics changes to measure impact

Checklist

  • [x] I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • [x] I've considered possible documentation changes

gonzaloriestra avatar Oct 10 '25 13:10 gonzaloriestra

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟑 Statements
79.03% (-0.2% πŸ”»)
13359/16904
🟑 Branches
72.72% (-0.39% πŸ”»)
6524/8972
🟑 Functions
79.22% (-0.15% πŸ”»)
3450/4355
🟑 Lines
79.39% (-0.19% πŸ”»)
12620/15896
Show new covered files 🐣
St.:grey_question:
File Statements Branches Functions Lines
🟒
... / find_organization.ts
100% 100% 100% 100%
πŸ”΄
... / deprecation-warnings.ts
0% 100% 0% 0%
Show files with reduced coverage πŸ”»
St.:grey_question:
File Statements Branches Functions Lines
πŸ”΄
... / build.ts
0%
0% (-100% πŸ”»)
0% 0%
πŸ”΄
... / dev.ts
0%
0% (-100% πŸ”»)
0% 0%
πŸ”΄
... / replay.ts
0%
0% (-100% πŸ”»)
0% 0%
πŸ”΄
... / schema.ts
0%
0% (-100% πŸ”»)
0% 0%
πŸ”΄
... / list.ts
0%
0% (-100% πŸ”»)
0% 0%
🟒
... / app.ts
86.56% (-0.07% πŸ”»)
68.57%
93.55% (-0.1% πŸ”»)
88.27% (-0.07% πŸ”»)
🟒
... / loader.ts
93.32% (-0.54% πŸ”»)
85.92% (-0.91% πŸ”»)
97.22% (+0.16% πŸ”Ό)
94.3% (-0.37% πŸ”»)
🟒
... / extension-instance.ts
83.15% (-1.42% πŸ”»)
78.74% (+0.23% πŸ”Ό)
92.73% (+0.79% πŸ”Ό)
82.94% (-1.92% πŸ”»)
🟒
... / app_config_branding.ts
80% (-20% πŸ”»)
0% (-100% πŸ”»)
0% (-100% πŸ”»)
80% (-20% πŸ”»)
🟒
... / ui_extension.ts
94.78% (-0.04% πŸ”»)
82.89% (+1.64% πŸ”Ό)
100%
96.43% (-0.03% πŸ”»)
🟒
... / app-event-watcher.ts
97.73% (-0.47% πŸ”»)
91.43% (+2.54% πŸ”Ό)
95.45% (-1.21% πŸ”»)
100%
🟒
... / DevSessionUI.tsx
86.27% (+0.82% πŸ”Ό)
84.21% (+0.6% πŸ”Ό)
85% (-0.71% πŸ”»)
89.13% (+1.13% πŸ”Ό)
🟑
... / analytics.ts
83.33% (-1.28% πŸ”»)
47.62% 100%
78.95% (-1.05% πŸ”»)
🟒
... / api.ts
85.58% (-1.92% πŸ”»)
73.85% (-2.97% πŸ”»)
100%
85% (-1.92% πŸ”»)
🟒
... / device-authorization.ts
85.71% (-3.35% πŸ”»)
70.83% (-8.58% πŸ”»)
100%
85.71% (-3.35% πŸ”»)
🟒
... / archiver.ts
89.47% (+2.38% πŸ”Ό)
66.67%
75% (-1.47% πŸ”»)
92.31% (+1.08% πŸ”Ό)
🟒
... / base-command.ts
89.58% (-1.33% πŸ”»)
88.57% (-0.32% πŸ”»)
87.5% (-2.5% πŸ”»)
90.36% (-1.04% πŸ”»)
πŸ”΄
... / custom-oclif-loader.ts
28.13% (-4.23% πŸ”»)
11.9% (-3.31% πŸ”»)
33.33%
28.13% (-4.23% πŸ”»)
🟒
... / fs.ts
87.83% (-0.6% πŸ”»)
92.31% (+3.02% πŸ”Ό)
85.42% (-0.58% πŸ”»)
88.29% (-0.6% πŸ”»)
🟒
... / git.ts
91.92% (-1.24% πŸ”»)
88% (+0.07% πŸ”Ό)
90.48% (-0.43% πŸ”»)
92.71% (-1.63% πŸ”»)
πŸ”΄
... / deprecations.ts
0% (-8.33% πŸ”»)
0% 0%
0% (-8.33% πŸ”»)
πŸ”΄
... / postrun.ts
0% (-16.67% πŸ”»)
0%
0% (-25% πŸ”»)
0% (-18.75% πŸ”»)
🟒
... / output.ts
88.89%
64.29% (-7.14% πŸ”»)
88.89% 88.89%
πŸ”΄
... / theme-ui.ts
59.09% (-27.27% πŸ”»)
38.89% (-24.27% πŸ”»)
60% (-20% πŸ”»)
59.09% (-27.27% πŸ”»)
🟒
... / evaluator.ts
97.26% (-2.74% πŸ”»)
93.02% (-4.54% πŸ”»)
100%
97.14% (-2.86% πŸ”»)
🟒
... / html.ts
96.72% (-0.05% πŸ”»)
90.32% 88.89%
96.61% (-0.06% πŸ”»)
🟒
... / proxy.ts
91.54%
79.22% (-1.3% πŸ”»)
90% 91.15%

Test suite run success

3256 tests passing in 1342 suites.

Report generated by πŸ§ͺjest coverage report action from ab500ad3dfda405f9c0d1a879104d773caa51a5b

github-actions[bot] avatar Oct 10 '25 13:10 github-actions[bot]

This PR seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. β†’ If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.

github-actions[bot] avatar Nov 10 '25 03:11 github-actions[bot]