


Salesforce Accredited B2B Commerce Developer Professional Practice Tests
Prepare for the Salesforce Accredited B2B Commerce Developer Professional exam (AP-202) with exam-style practice questions covering Lightning Web Components, checkout development, reference implementations, commerce data, integrations, error handling, and diagnostics.
Formerly known as the B2B Commerce for Developers Accredited Professional, this credential focuses on the technical skills used to configure and customize Salesforce B2B Commerce storefronts.
This Udemy practice test course helps you review the full exam outline through questions based on realistic development and implementation scenarios. You will work with requirements involving Apex, Lightning Web Components, Commerce APIs, buyer data, checkout services, payments, pricing, tax, shipping, inventory, and external systems.
Each question includes an explanation of the correct answer and a review of why the other options do not fit the requirement.
About the Salesforce Accredited B2B Commerce Developer Professional Credential
The Salesforce Accredited B2B Commerce Developer Professional credential recognizes consultants and developers who implement and support B2B Commerce solutions in customer-facing projects.
The exam validates practical knowledge of:
Configuring Salesforce B2B Commerce
Customizing B2B storefront experiences
Creating and modifying Lightning Web Components
Supporting checkout and payment processes
Managing commerce data and record relationships
Connecting Salesforce with external systems
Working with pricing, tax, shipping, and inventory services
Troubleshooting storefront, Apex, API, and integration failures
Candidates should understand how different Salesforce platform layers work together within a B2B Commerce implementation.
These layers may include:
Experience Cloud
Lightning Web Components
Apex classes
Commerce APIs
Buyer accounts and buyer groups
Products and catalogs
Checkout components
Payment providers
External tax services
Pricing and inventory platforms
Asynchronous Salesforce processes
What Is Included in This Course?
This course includes Salesforce B2B Commerce Developer practice tests aligned with the six official exam domains.
The questions cover technical situations involving:
Public LWC properties and methods
Parent-and-child component communication
Custom events and reactive state
Getters and setters
Conditional and list rendering
Wire adapters and imperative Apex
Lightning Web Component lifecycle hooks
Experience Builder properties
Shared JavaScript modules
Lightning Message Service
Static resources and third-party libraries
Named and unnamed slots
Dynamic component creation
NavigationMixin
GraphQL wire adapters
Cached Apex results and refreshApex
Product and catalog data
Buyer accounts and buyer groups
External IDs and upsert operations
High-volume data imports
Duplicate integration messages
Checkout stage customization
Shipping-address validation
Delivery-method updates
Payment authorization
Cart and tax recalculation
Pricing, tax, shipping, and inventory reference code
Apex exceptions and governor limits
LWC runtime failures
Commerce API response errors
Authentication and session problems
Debug logs, trace flags, and Apex Jobs
Practice Realistic B2B Commerce Development Scenarios
Salesforce B2B Commerce development requires more than memorizing platform terminology.
A single storefront requirement may involve:
A component property
A custom event
An Apex method
A Commerce API request
A buyer-account relationship
A checkout-stage action
An external service call
A cart validation record
An asynchronous job
A browser or server-side error
The questions in this course help you identify which platform layer should handle each requirement.
You will practice comparing answers that differ by:
Execution timing
Component ownership
Client-side versus server-side responsibility
Record relationships
Data type
Integration scope
API behavior
Salesforce governor limits
Who Should Take This Course?
This practice test 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 integration developers
Salesforce solution architects
Salesforce Partners
System integrators
Developers supporting checkout and payment services
Technical teams maintaining B2B storefronts
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 prerequisite certification for this credential.
However, familiarity with the following topics can help you understand the practice questions:
Salesforce Administration in Lightning Experience
Declarative Salesforce configuration
Platform App Builder concepts
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 and catalogs
Buyer accounts and buyer groups
B2B purchasing and checkout processes
Pricing, tax, shipping, payment, and inventory integrations
Knowledge related to the following credentials may also be helpful, but is not required:
Salesforce Administrator
Salesforce Advanced Administrator
Salesforce Platform App Builder
Salesforce Platform Developer
Salesforce Platform Developer II
Experience Cloud Consultant
Salesforce B2B Commerce Developer Exam Details
The official credential listing currently confirms:
Exam content: 60 multiple-choice and multiple-select questions
Time limit: 75 minutes
Registration fee: USD $150, plus applicable taxes
Retake fee: USD $150, plus applicable taxes
Prerequisite: None
Role: Developer
Level: Intermediate
Exam language: English
Salesforce may update exam policies, pricing, delivery options, or content. Review the current official exam page before scheduling.
Salesforce B2B Commerce Developer Exam Outline
The practice tests cover all six domains from the Salesforce Accredited B2B Commerce Developer Professional exam outline.
Advanced Lightning Web Component Development — 30%
This is the largest exam domain and focuses on creating new Lightning Web Components for B2B Commerce storefronts.
Questions may cover:
Reusable component architecture
Public component APIs
Parent-and-child communication
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 data
refreshApex
Reactive component state
Subscription setup and cleanup
Storefront performance
Candidates should understand how components exchange data, respond to state changes, release resources, and handle client-side failures.
Basic Lightning Web Component Development — 20%
This domain focuses on modifying existing Salesforce B2B Commerce Lightning Web Components.
Questions may cover:
Public properties using @api
Public methods
Getters and setters
Custom events
Parent-to-child communication
Child-to-parent communication
Conditional rendering
List rendering
Stable record keys
Form input handling
Wire adapters
Imperative Apex calls
Loading indicators
Error states
Shared JavaScript modules
Accessibility labels
Experience Builder properties
Component metadata
Lifecycle timing
Candidates should know when to use a public property, custom event, public method, wire adapter, Apex call, shared module, or template directive.
Reference Implementations — 15%
This domain covers four important reference implementation areas used within checkout and payment interfaces:
Pricing
Tax
Shipping
Inventory
Questions may cover:
Checkout integration interfaces
Supported checkout actions
startCartProcessAsync
IntegrationInfo
IntegrationStatus
Success and failure responses
CartValidationOutput
Validation levels and types
Inventory shortages
External price validation
Shipping charge records
Cart delivery groups
Cart tax records
Apex callouts
Named Credentials
External endpoint authentication
Candidates should understand how each reference implementation updates the cart, reports its processing result, and returns buyer-facing validation messages.
Data Management — 15%
This domain focuses on the records, relationships, and integrations required to establish and operate a Salesforce B2B Commerce storefront.
Questions may cover:
Products and catalogs
Buyer accounts and buyer groups
Junction records
Commerce data relationships
External IDs
Upsert operations
Parent-and-child loading sequences
Bulk API 2.0
Data mapping and transformation
High-volume catalog imports
Idempotent integration patterns
Duplicate-message prevention
Failed-record retries
Change Data Capture
Platform events
External-system synchronization
Candidates should understand how incorrect identifiers, missing relationships, and improper loading sequences can affect buyer access, product visibility, pricing, and storefront behavior.
Checkout Flow Development — 10%
This domain focuses on customizing existing Salesforce B2B Commerce checkout flows for common customer requirements.
Questions may cover:
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.
Questions may cover:
Apex exceptions
AuraHandledException
LWC runtime errors
Wire-adapter failures
Commerce API errors
HTTP response codes
Authentication failures
Expired sessions
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 Exam Preparation
Use this course to:
Review the complete AP-202 exam outline
Practice realistic B2B Commerce development scenarios
Review basic and advanced LWC concepts
Work through checkout and payment questions
Study commerce data relationships
Review integration and reference implementation patterns
Identify areas that require further study
Compare similar technical solutions
Improve technical question-reading accuracy
Review explanations for correct and incorrect options
Practice answering questions within an exam-style time limit
For stronger preparation, combine these practice tests with:
Partner Learning Camp
Salesforce Help documentation
Salesforce Developer documentation
Trailhead learning
Lightning Web Component exercises
Apex and integration practice
Checkout customization work
Hands-on 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.