Salesforce Apex and API version upgrade
Salesforce retires old API versions on a schedule. Versions 21 to 30 stopped working in Summer ’25, and versions 31 to 40 are deprecated from Summer ’27 and retired from Summer ’28. We find every integration and piece of code on an old version, move it to the current one, and test it before it breaks.

What happens if you leave it.
- Calls to a retired API version fail: the REST API returns a 410 GONE error, so an integration that worked yesterday stops sending data.
- Versions 31.0 to 40.0 are deprecated and unsupported from Summer ’27 and retired from Summer ’28.
- Code saved on an old version keeps the behaviour of that version, so it misses fixes and features added since.
- Winter ’27 is API version 68.0. Every year you wait, the gap and the testing get bigger.
What the upgrade covers.
Integration scan
Salesforce’s API usage logs checked for calls on old versions, then traced back to the tool, script or middleware that makes them.
Code inventory
Apex classes, triggers, Visualforce pages, Aura and Lightning Web Components listed with their API versions.
Upgrade
Code moved to the current API version in a sandbox, with the versioned behaviour changes in between reviewed.
Tests
All Apex tests run, failures fixed and coverage kept above the 75% Salesforce requires to deploy.
Integration updates
Endpoints updated in the integrations we can access, and clear instructions for vendors where we cannot.
Safe deploy
Deployed with a full test run at a quiet time, with a rollback plan ready.
From inventory to deploy.
API usage logs and metadata checked to see what is on old versions.
Code and integration settings updated in a sandbox.
All tests run, behaviour checked on the processes you depend on most.
Released to production with a rollback plan and a short summary of what changed.
Price
$199 · up to 50 Apex classes and triggers, plus your integrations check
Delivery: 5 to 10 working days
Not included
- Orgs with more than 50 Apex classes and triggers (fixed quote after a free scan)
- Code inside managed packages, which the vendor maintains
- Rewriting integrations owned by another vendor
Good to know.
Which Salesforce API versions are being retired?
Versions 21.0 to 30.0 were retired in Summer ’25. Versions 31.0 to 40.0 are deprecated and unsupported from Summer ’27 and retired from Summer ’28.
What is the current Salesforce API version?
Winter ’27 is API version 68.0. A new version comes with each of the three yearly releases.
How do I find integrations on old API versions?
Salesforce records API calls in its event logs; the API Total Usage event type shows which version each call used. We check it and trace each old call back to the system that makes it.
Is it risky to change an Apex class API version?
It can change behaviour, which is why we upgrade in a sandbox, read the versioned changes between the old and new version, and run every test before deploying.
How much does a Salesforce API version upgrade cost?
$199 for up to 50 Apex classes and triggers, including the integration scan. Larger orgs get a fixed quote after a free scan.
More ways we help.
Ready to get it done?
Message us with a short description of your org, or book a free 30-minute call if you would like to talk it through first.