sf-b2b-apex - Salesforce B2B Commerce Apex Extensions Builder
Build B2B Commerce Apex extensions using the CartExtension namespace for pricing, shipping, tax, and inventory calculators with bulkified logic and test coverage.
Tags
Updated: 2026-06-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- fetch live Salesforce documentation
- implement CartExtension calculators
- write bulkified SOQL queries
- create Apex test classes
- handle HTTP callouts with Named Credentials
- register cart calculators via UI
- implement graceful error handling
- use ConnectApi for cart operations
- monitor Apex governor limits
Inputs
- Salesforce org with B2B Commerce
- Salesforce developer documentation
- Apex code repository
- Named Credentials configuration
- WebStore configuration
Outputs
- Apex calculator class files
- Apex test class files
- Test coverage reports
- Error log entries
Requirements
- Salesforce org with B2B Commerce enabled
- Apex development environment
- WebStore and WebCart configured
- Cart calculator registration UI access
- 75% minimum test coverage for deployment
