


Salesforce B2B Commerce for Developers Accredited Professional Practice Tests
Prepare for the Salesforce B2B Commerce for Developers Accredited Professional exam (AP-202) with realistic practice questions covering Lightning Web Components, checkout flow development, commerce data, external integrations, reference implementations, error handling, and diagnostics.
This practice test course helps you review the technical knowledge required to configure, customize, integrate, and troubleshoot Salesforce B2B Commerce storefronts.
The questions focus on practical development situations rather than isolated definitions. You will work through scenarios involving Apex, Lightning Web Components, Commerce APIs, checkout services, buyer data, catalog relationships, payments, tax, shipping, pricing, inventory, and Salesforce diagnostic tools.
Each question includes a detailed explanation of the correct answer and the limitations of the other choices.
About the Salesforce B2B Commerce for Developers Accredited Professional Credential
The B2B Commerce for Developers Accredited Professional credential recognizes consultants and developers who implement and advise on Salesforce B2B Commerce projects in customer-facing roles.
The exam validates practical knowledge of configuring B2B Commerce and applying complex storefront customizations across sample applications and real implementation projects. Salesforce identifies the credential as an intermediate-level developer accreditation for professionals with B2B Commerce implementation and consulting experience.
Candidates should understand how the following technologies and processes work together:
Salesforce B2B Commerce
Lightning Web Components
Apex and SOQL
Experience Cloud
Commerce data relationships
Checkout and payment processes
External pricing and inventory systems
Tax and shipping integrations
Salesforce APIs
Debugging and monitoring tools
What Is Included in This Practice Test Course?
This course includes Salesforce B2B Commerce Developer practice tests aligned with the six published exam domains.
The questions cover technical scenarios involving:
Creating and modifying Lightning Web Components
Exposing component properties in Experience Builder
Passing data between parent and child components
Using public properties, methods, setters, and custom events
Working with wire adapters and imperative Apex
Applying component lifecycle hooks
Refreshing cached data with refreshApex
Managing loading indicators and error states
Using Lightning Message Service
Loading JavaScript libraries from static resources
Creating reusable components with slots
Supporting Salesforce navigation
Managing GraphQL queries and reactive variables
Debouncing product searches and filter requests
Importing products, catalogs, and buyer information
Using external IDs and upsert operations
Managing buyer accounts and buyer groups
Handling high-volume commerce data
Preventing duplicate integration processing
Customizing B2B Commerce checkout stages
Validating addresses and purchase order information
Updating shipping methods and cart totals
Supporting payment authorization
Processing external tax calculations
Working with pricing, tax, shipping, and inventory reference code
Diagnosing Apex, LWC, API, and asynchronous processing failures
Reviewing debug logs, trace flags, and browser network responses
Practice Realistic Salesforce B2B Commerce Scenarios
A B2B Commerce storefront depends on several connected Salesforce and external-system layers.
A storefront problem may originate from:
A Lightning Web Component
An Apex class
A Commerce API request
A buyer account or buyer group
A product, catalog, or entitlement relationship
A checkout component
A payment provider
A pricing service
A tax or shipping service
An inventory system
An asynchronous Apex job
An authentication or permission setting
The practice questions help you identify the source of a technical requirement and choose the Salesforce development approach that fits the scenario.
You will compare solutions that differ by:
Execution timing
Component ownership
Data relationships
Client-side and server-side responsibility
Integration behavior
Salesforce record type
API response handling
Platform governor limits
Who Should Take This Course?
This course is suitable for:
Salesforce developers preparing for the AP-202 exam
Salesforce B2B Commerce developers
Lightning Web Component developers
Apex developers
Salesforce technical consultants
B2B Commerce implementation consultants
Experience Cloud developers
Commerce solution architects
Integration developers
Salesforce Partners
System integrators
Developers supporting checkout and payment services
Technical teams maintaining B2B storefronts
Salesforce Accredited Professional exams are primarily intended for Salesforce Partners with access to Partner Learning Camp and the Salesforce Partner Community.
Recommended Background
There is no formal certification prerequisite for the exam. Salesforce currently lists no prerequisite for Accredited Professional certifications.
Familiarity with the following topics can make the practice questions easier to understand:
Salesforce Administration in Lightning Experience
Salesforce Administrator concepts
Platform App Builder concepts
Declarative Salesforce configuration
Lightning Web Components
JavaScript, HTML, and CSS
Apex, SOQL, and DML
Experience Cloud administration
Process automation with Flow Builder
REST APIs and Apex callouts
Named Credentials
Salesforce CMS fundamentals
Products, catalogs, buyer accounts, and buyer groups
B2B checkout and purchasing processes
Pricing, tax, shipping, payment, and inventory integrations
Knowledge related to Salesforce Administrator, Advanced Administrator, Platform App Builder, Platform Developer, Platform Developer II, or Experience Cloud can be helpful, but these certifications are not required.
Salesforce B2B Commerce Developer Exam Details
According to Salesforce’s current public exam guide, the exam details are:
Exam content: 60 multiple-choice and multiple-select questions
Time limit: 75 minutes
Passing score: 68%
Release alignment: Summer ’24
Registration fee: USD $150, plus applicable taxes
Retake fee: USD $150, plus applicable taxes
Delivery: Online-proctored or onsite-proctored testing
Reference materials: Closed book
Prerequisite: None
Salesforce may revise exam policies, pricing, or content, so candidates should confirm the latest details before scheduling.
Salesforce B2B Commerce for Developers Exam Outline
The exam measures your knowledge of developing, customizing, integrating, and troubleshooting Salesforce B2B Commerce solutions.
This practice test course covers all six exam domains.
Advanced Lightning Web Component Development — 30%
This is the largest exam domain and focuses on creating new Lightning Web Components for B2B Commerce storefronts.
Topics may include:
Reusable component architecture
Public component properties and methods
Parent-and-child communication
Lightning Web Component lifecycle hooks
Lightning Message Service
Named and unnamed slots
Dynamic component creation
NavigationMixin
GraphQL wire adapters
Static resources
Third-party JavaScript libraries
Error boundaries
Debounced server requests
Cached Apex results
refreshApex
Reactive state management
Subscription setup and cleanup
Storefront performance
Candidates should understand how to create components that communicate correctly, respond to data changes, release resources, and handle client-side failures.
Basic Lightning Web Component Development — 20%
This domain focuses on improving existing Salesforce B2B Commerce Lightning Web Components.
Topics may include:
Public properties using @api
Getters and setters
Custom events
Parent-to-child communication
Child-to-parent communication
Conditional rendering
List rendering
Stable record keys
Event handling
Form input processing
Wire adapters
Imperative Apex calls
Loading indicators
Error messages
Shared JavaScript modules
Accessibility
Experience Builder properties
Component metadata
Lifecycle hooks
Candidates should know when to use a public property, custom event, wire adapter, Apex method, shared JavaScript module, or template directive.
Reference Implementations — 15%
This domain covers four important reference implementation areas used within B2B Commerce checkout and payment interfaces:
Pricing
Tax
Shipping
Inventory
Topics may include:
Checkout integration interfaces
Supported checkout actions
startCartProcessAsync
IntegrationInfo
IntegrationStatus
Success and failure responses
CartValidationOutput
Validation levels and types
Inventory validation
External price validation
Shipping charge records
Cart delivery groups
Cart tax records
Apex callouts
Named Credentials
External endpoint authentication
Candidates should understand how each implementation updates the cart, reports processing results, and returns buyer-facing validation messages.
Data Management — 15%
This domain covers the records, relationships, and integrations required to establish and operate a Salesforce B2B Commerce storefront.
Topics may include:
Products and catalogs
Buyer accounts and buyer groups
Commerce record relationships
Junction records
External IDs
Upsert operations
Parent-and-child loading order
Bulk API 2.0
Data mapping and transformation
High-volume catalog imports
Duplicate-message prevention
Idempotent integration patterns
Failed-record recovery
Change Data Capture
Platform events
External-system synchronization
Candidates should understand how missing relationships, incorrect identifiers, and improper data-loading sequences can affect product visibility, buyer access, pricing, and storefront operation.
Checkout Flow Development — 10%
This domain focuses on customizing existing Salesforce B2B Commerce checkout flows for common customer requirements.
Topics may include:
Checkout stages
Custom checkout components
Shipping-address validation
Delivery-method selection
Purchase order numbers
Checkout state management
Payment authorization
External tax calculation
Cart recalculation
Shipping and tax totals
Stage validation
Recoverable errors
Order submission
Buyer-entered instructions
Candidates should understand when checkout information must be validated, stored, recalculated, or blocked from progressing to the next stage.
Error Handling and Diagnostics — 10%
This domain focuses on troubleshooting Salesforce B2B Commerce storefront, Apex, API, and integration issues.
Topics may include:
Apex exceptions
AuraHandledException
LWC runtime errors
Wire-adapter failures
Commerce API errors
HTTP response codes
Authentication and session problems
OAuth token issues
Browser console messages
Browser network requests
LWC debug mode
Apex debug logs
Trace flags
Apex Jobs
AsyncApexJob
SOQL governor limits
Failed callouts
Stale cached data
Correlation identifiers
Candidates should be able to identify whether a problem originates in the browser, Lightning Web Component, Apex code, Commerce API, asynchronous process, commerce data, or external integration.
How These Practice Tests Support Your Preparation
Use this course to:
Review the complete B2B Commerce for Developers exam outline
Practice realistic Salesforce development scenarios
Review Lightning Web Component concepts
Work through checkout and payment questions
Study B2B Commerce data relationships
Review integration and reference implementation patterns
Identify topics that require further study
Compare similar technical solutions
Improve technical question-reading accuracy
Review explanations for correct and incorrect responses
Practice answering questions within a limited period
For stronger preparation, combine these practice tests with:
Partner Learning Camp
Trailhead learning
Salesforce Help documentation
Salesforce Developer documentation
Lightning Web Component exercises
Apex and integration practice
Checkout customization work
Hands-on Salesforce B2B Commerce project experience
Important Course Disclaimer
This course is independently created and is not affiliated with, endorsed by, authorized by, or sponsored by Salesforce.
The practice questions are written for education and certification preparation. They are not copied from, obtained from, or presented as live Salesforce exam questions.
Salesforce, Trailhead, Lightning Web Components, Apex, Experience Cloud, and related product names are trademarks of Salesforce, Inc.