100+ Free Salesforce B2B Commerce Developer AP Practice Questions
Pass your Salesforce B2B Commerce for Developers Accredited Professional (AP-202) exam on the first try — instant access, no signup required.
Which standard Salesforce object represents an instance of a Lightning B2B Commerce storefront?
Key Facts: Salesforce B2B Commerce Developer AP Exam
50
Questions
Salesforce AP-202 exam guide
90 min
Time Limit
Salesforce AP-202 exam guide
70%
Passing Score
Salesforce AP-202 exam guide
$200
Exam Fee
Salesforce / Trailhead Academy (retake $100)
Online
Delivery
Trailhead Academy online proctored
1+ yr
Recommended Experience
Salesforce candidate description
The Salesforce B2B Commerce for Developers Accredited Professional (AP-202) exam has 50 multiple-choice/multiple-select questions delivered in 90 minutes through Trailhead Academy online proctoring. The passing score is 70% and registration costs USD $200 (retake $100); no reference materials are allowed. Salesforce recommends one or more years of B2B Commerce development experience on the Salesforce Platform and working knowledge of Apex, SOQL, Lightning Web Components, the Connect REST API, and the Cart Calculation extension framework. The exam targets developers, consultants and system integrators delivering Lightning B2B Commerce projects.
Sample Salesforce B2B Commerce Developer AP Practice Questions
Try these sample questions to test your Salesforce B2B Commerce Developer AP exam readiness. Each question includes a detailed explanation. Start the interactive quiz above for the full 100+ question experience with AI tutoring.
1Which standard Salesforce object represents an instance of a Lightning B2B Commerce storefront?
2In Lightning B2B Commerce, which object links a Buyer Group to the WebStores it can shop on?
3Which sObject controls which products a Buyer Group is allowed to purchase?
4A developer must show different prices to two buyer groups for the same product. Which configuration achieves this with no Apex?
5Which Salesforce object represents the active shopping cart of a buyer in B2B Commerce?
6Which pair of objects represents an order placed from B2B Commerce after checkout?
7A developer needs to assign a buyer's user to a specific buyer account so personalized pricing applies. Which object holds the relationship between a Buyer User (Contact) and their Buyer Account?
8What is the role of the BuyerAccount object?
9Which object models the catalog hierarchy assigned to a WebStore?
10Which object stores per-language and per-locale translations of product fields like Name and Description?
About the Salesforce B2B Commerce Developer AP Exam
The Salesforce B2B Commerce for Developers Accredited Professional (AP-202) credential validates the skills needed to build and customize storefronts on Lightning B2B Commerce. The exam emphasizes the modern LWR (Lightning Web Runtime) stack, the WebStore data model (Buyer Group, Buyer Account, Catalog, Pricebook, Entitlement Policy, Product2, Cart, Order Summary), Cart Calculation Apex extensions for Pricing, Promotion, Inventory, Shipping and Tax, custom Lightning Web Components inside Experience Builder, Connect REST and Commerce APIs, payment gateway integration, search and promotions, Order Management, and migration paths from the legacy CC Razor (Handlebars) B2B Commerce stack.
Assessment
50 multiple-choice/multiple-select questions delivered online and proctored through Trailhead Academy
Time Limit
90 minutes
Passing Score
70%
Exam Fee
$200 USD (retake $100) (Salesforce Trailhead Academy (online proctored))
Salesforce B2B Commerce Developer AP Exam Content Outline
Data Management and B2B Commerce Data Model
WebStore configuration, Buyer Group, Buyer Account, Catalog and ProductCategory, Product2, Pricebook2 / PricebookEntry, Entitlement Policy and Entitlement Product, Cart and CartItem, Order and OrderSummary, sharing and visibility, Buyer-to-Account relationships, and reference data loaders.
LWC and Storefront (LWR) Development
Building custom Lightning Web Components for B2B Commerce, the LWR Experience Builder, page variations, theme layouts, Public Commerce LWR Library, accessing context (sessionContextApi, productApi), wire adapters from commerce/* modules, and progressive enhancement vs SSR/CSR considerations.
Cart and Checkout Flow Development
Checkout Flow customization with the CheckoutComponent, sub-flows, the Cart Calculation framework, Apex Type extensions for Pricing, Promotion, Inventory, Shipping and Tax, registering extensions on the WebStore, integration sub-flows, payment authorization, and order placement via Connect REST API.
Reference Implementations and Integration
Connect REST API and Commerce APIs (Search, Pricing, Cart, Checkout, Order), payment gateway adapters (Apex implementations of CommercePayments.PaymentGatewayAdapter), tax/shipping provider integrations, Order Management hand-off, and considerations when migrating from legacy CC Razor (Handlebars) to Lightning B2B Commerce.
Error Handling, Diagnostics and Search
Debug logs, Apex Job monitoring, cart calculation pipeline status (Computed/Failed/Processing), search index management, search results customization, Einstein for Commerce considerations, promotion/coupon engine debugging, governor limits, and idempotent retry patterns.
How to Pass the Salesforce B2B Commerce Developer AP Exam
What You Need to Know
- Passing score: 70%
- Assessment: 50 multiple-choice/multiple-select questions delivered online and proctored through Trailhead Academy
- Time limit: 90 minutes
- Exam fee: $200 USD (retake $100)
Keys to Passing
- Complete 500+ practice questions
- Score 80%+ consistently before scheduling
- Focus on highest-weighted sections
- Use our AI tutor for tough concepts
Salesforce B2B Commerce Developer AP Study Tips from Top Performers
Frequently Asked Questions
How many questions are on the AP-202 B2B Commerce Developer exam?
The exam has 50 multiple-choice and multiple-select questions delivered in 90 minutes. It is online proctored through Trailhead Academy and no hard-copy or online reference materials may be used during the exam.
What is the passing score and fee for AP-202?
The passing score is 70%. Registration is USD $200 plus applicable taxes, and the retake fee is USD $100. Each retake requires a fresh registration through Trailhead Academy with a mandatory waiting period between attempts.
Does AP-202 cover legacy CC Razor B2B Commerce or only Lightning B2B Commerce?
The current AP-202 exam focuses on Lightning B2B Commerce — the modern LWR-based stack with the WebStore data model, Apex Cart Calculation extensions, and Lightning Web Components. Legacy CC Razor / Handlebars knowledge may appear in a small number of awareness-level or migration questions, but the bulk of the exam targets the modern platform.
What experience does Salesforce recommend before sitting AP-202?
Salesforce recommends at least one year of B2B Commerce development experience on the Salesforce Platform, comfort with Apex, SOQL, DML, Lightning Web Components, the Connect REST API, and the Cart Calculation extension framework. Holding the Platform Developer I credential is also recommended.
What are Cart Calculation extensions in B2B Commerce?
Cart Calculation extensions are Apex classes that extend the abstract Type classes (CartExtension.PricingCartCalculator, CartExtension.PromotionsCartCalculator, CartExtension.InventoryCartCalculator, CartExtension.ShippingCartCalculator, CartExtension.TaxCartCalculator). You register them on the WebStore so Salesforce invokes your code during cart calculation to apply custom pricing, promotions, inventory checks, shipping rates, and taxes.
Which APIs power headless B2B Commerce storefronts?
Salesforce exposes the Connect REST API (commerce/webstores/{id}/...) and the Commerce APIs (Search, Cart, Checkout, Pricing, Order) for headless B2B Commerce. These same APIs back the LWR-based storefront. For server-side integrations you can also call the related Apex equivalents in the ConnectApi namespace.
Is the Salesforce Platform Developer I a prerequisite for AP-202?
No formal prerequisite is required. However, Salesforce strongly recommends that candidates already hold the Salesforce Certified Platform Developer I credential because the AP-202 exam assumes deep Apex, SOQL, DML, and Lightning Web Component knowledge.