Title: improvement(shopify): pin Admin API to supported 2025-10 via shared constant by waleedlatif1 · Pull Request #5895 · simstudioai/sim · GitHub
Open Graph Title: improvement(shopify): pin Admin API to supported 2025-10 via shared constant by waleedlatif1 · Pull Request #5895 · simstudioai/sim
X Title: improvement(shopify): pin Admin API to supported 2025-10 via shared constant by waleedlatif1 · Pull Request #5895 · simstudioai/sim
Description: Summary Every Shopify tool and the credential validator hardcoded the retired 2024-10 Admin API version. Retired versions still function (Shopify forward-falls to the oldest supported version) but the served version drifts silently each quarter and emits deprecation signals. Added apps/sim/tools/shopify/constants.ts exporting SHOPIFY_API_VERSION as the single source of truth, pinned to the supported 2025-10 (supported through Oct 2026). Wired all 21 Shopify tools, the token-service-account validator, and the OAuth store route to the shared constant — no more per-file inline version. Next bump is a one-line change. Derived the validator test's expected URL from the constant so it can't drift again. Compatibility Our operations already use modern 2024-10+ shapes — ProductCreateInput / ProductUpdateInput (new product model; variants is output-only, not the removed inline ProductInput.variants), orderCancel new signature, CustomerInput, InventoryAdjustQuantitiesInput, fulfillmentCreate. Because 2024-10 is retired, Shopify already forward-serves us ~2025-07 in production today, so this is a small, explicit step from what's effectively already live. Type of Change Improvement Testing Typecheck clean; validator tests pass (11); Biome + check:api-validation pass. Not yet smoke-tested against a live store — recommend one list_products read post-merge to close the loop. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)
Open Graph Description: Summary Every Shopify tool and the credential validator hardcoded the retired 2024-10 Admin API version. Retired versions still function (Shopify forward-falls to the oldest supported version) but...
X Description: Summary Every Shopify tool and the credential validator hardcoded the retired 2024-10 Admin API version. Retired versions still function (Shopify forward-falls to the oldest supported version) but...
Opengraph URL: https://github.com/simstudioai/sim/pull/5895
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a5fb9b14-eb15-a8b0-f831-af9f3dea5c60 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 851C:131B36:2B2C3A:3E4A0A:6A635890 |
| html-safe-nonce | 3179e1319f1b973cb36f6033bae33a1251ba365a508e5bec8f572fc740a42487 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTFDOjEzMUIzNjoyQjJDM0E6M0U0QTBBOjZBNjM1ODkwIiwidmlzaXRvcl9pZCI6IjU2MzEyMDc1NDE0MTI0MTk3MjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 34f56b7af1ec666822be932d2ae7ac70007cabdeb41e0d35d2f97e3fb95ade00 |
| hovercard-subject-tag | pull_request:4119231047 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5895/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary Every Shopify tool and the credential validator hardcoded the retired 2024-10 Admin API version. Retired versions still function (Shopify forward-falls to the oldest supported version) but... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 990295d92a4cc7b63fbbd83a046217cd7d77d49c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width