Salesforce Decode
Salesforcedecode
All interview topics

Headless 360 Interview Questions

MCP, Agentforce APIs, commerce APIs, and external channel integrations.

117 unique questions in this topicDrill in practice mode →
API and digital experience for headless Salesforce

Visual guide for Headless 360

Concept at a glance

Headless 360 exposes Salesforce data and AI via APIs to web, mobile, and partner channels.

  • REST & GraphQL APIs
  • B2B / D2C Commerce APIs
  • MCP & Agent endpoints
  • Custom UX on Salesforce backend
Headless 360 architecture diagram

Headless 360 exposes Salesforce data and AI via APIs to web, mobile, and partner channels.

Difficulty Level

Topic Focus

Showing 117 of 117 Headless 360 questions

Beginnerbasicsheadlessapi

What does headless Salesforce mean?

A frontend team builds a React storefront and asks why they need Salesforce if they are not using the standard UI.

Beginnercommerce-apib2c

What is the B2C Commerce API used for?

Shoppers browse products on a custom site. You explain which Salesforce API powers product and cart data.

Beginnerexperience-cloudportal

What is Experience Cloud in a headless context?

A partner portal uses a custom Angular app but still needs Salesforce authentication and case data.

Beginnersecurityoauthauthentication

What is OAuth and why does headless need it?

Your mobile app must log users in without storing Salesforce passwords. You explain OAuth at a basic level.

Beginnermiddlewareapi-gateway

What is an API gateway or middleware in headless architecture?

The React site should not call ten different Salesforce endpoints directly from the browser. You introduce middleware.

Beginneragentforceapimcp

What is MCP in the Salesforce headless context?

Leadership mentions MCP for connecting AI assistants to Salesforce data. You give a beginner explanation.

Beginnercomposablecommerce

What is a composable storefront?

Marketing wants best-of-breed CMS, search, and checkout. You explain composable commerce simply.

Beginnercrmorder-sync

How do headless integrations sync orders to CRM?

After online checkout, sales reps need the Order in Sales Cloud. You outline a simple sync pattern.

Beginnergraphqlrest

What is GraphQL vs REST for Salesforce headless apps?

Mobile app developers ask which API style to use for fetching product and customer in one screen load.

Beginnercachingperformance

What caching strategies help headless storefront performance?

Product pages load slowly because every visit hits Salesforce APIs. You suggest beginner-friendly caching.

Beginnerwebhooksevents

What is a webhook in headless integrations?

Payment provider notifies your site when charge succeeds. You explain webhooks simply.

Beginnertestinggo-live

What should you test before launching a headless site?

Go-live is Friday. You list minimum tests a junior should run on staging.

Architectheadlesscommerce-apib2c

Design headless commerce architecture with Salesforce B2C Commerce APIs

A fashion brand replatforms to React Native mobile and Next.js web while keeping Salesforce B2C Commerce as cart and order system of record.

Advancedagentforcetoolsintegration

Explain MCP integration patterns for Agentforce external tools

Developers want Agentforce agents to call external inventory and pricing engines via Model Context Protocol servers hosted on AWS.

Architectprofilesapigraphql

Architect Customer 360 APIs for external channel consumption

A partner portal and IVR system need unified customer context—recent orders, open cases, loyalty tier—from Salesforce without direct CRM UI access.

Intermediateoauthcommerceslas

Implement SLAS authentication for headless shoppers

Mobile app guest checkout works but registered login fails intermittently with token expiry errors during long browsing sessions.

Advancedintegrationwebhooksevents

Design event-driven order lifecycle notifications to external systems

Warehouse WMS, email ESP, and loyalty platform each need order created, shipped, and returned events from Commerce and CRM in near-real-time.

Intermediateapiexperience-cloudportal

Build headless self-service portal on Experience Cloud APIs

Customers want a custom React portal for case management and knowledge search instead of standard Experience Cloud templates.

Advancedagentforcemessagingapi

Integrate Agentforce APIs for embedded support in third-party apps

A fintech mobile app wants in-app support chat powered by Agentforce without redirecting users to Salesforce-hosted pages.

Architectgovernancepartnersapi-versioning

Design API versioning and deprecation for public partner APIs

200 partners consume your Salesforce-backed product catalog API. A breaking schema change for new attributes threatens partner integrations.

Advancedcommerceperformancepersonalization

Optimize headless product search and personalization APIs

Product search latency on mobile P95 is 2.8 seconds using direct Commerce search API calls without caching or CDN.

Advancedcommercepaymentscheckout

Implement headless checkout with payment provider abstraction

The brand uses Stripe for payments across web and mobile while B2C Commerce manages basket and order creation.

Intermediatesecurityapi-gatewayrate-limiting

Design rate limiting and API gateway for Salesforce-backed microservices

A viral marketing campaign caused partner API quota exhaustion and Commerce API 429 errors affecting all channels.

Intermediatedata-cloudeventsanalytics

Connect headless channels to Data Cloud for unified analytics

Mobile app behavioral events sit in Firebase while web uses GA4. Marketing cannot attribute cross-channel journeys in Salesforce.

Architectb2brevenue-cloudcpq

Architect B2B headless ordering with Salesforce Revenue Cloud APIs

A distributor wants partner portal for contract pricing, bulk ordering, and approval workflows using Revenue Cloud as backend.

Intermediateheadlesscommercecms

Implement content delivery for headless storefronts with CMS

Marketing manages hero banners and promotional content in Salesforce CMS but Next.js storefront shows stale content for hours.

Advancedfield-servicesyncoffline

Design offline-first mobile patterns with Salesforce sync

Field sales reps in rural areas need offline catalog browse and draft order creation syncing when connectivity returns.

Architectsecurityoauthzero-trust

Secure headless API exposure with zero-trust principles

Pen test found partner API keys embedded in mobile app binaries and excessive OAuth scopes on integration users.

Architectcomposablearchitecturestrategy

Evaluate composable commerce vs monolithic Salesforce Commerce

CTO proposes replacing B2C Commerce with composable best-of-breed cart, PIM, and OMS while keeping Salesforce CRM.

Intermediatesandboxdocumentationdeveloper-experience

Build developer experience for internal API consumers

Internal teams complain Salesforce APIs are hard to discover, test, and mock causing duplicate integration code.

Architectcompliancelatencyglobal

Design multi-region headless deployment for global retail

A retailer operates EU, US, and APAC storefronts with data residency requirements and localized payment methods.

Intermediatereliabilitymonitoringslo

Monitor and SLO headless channel API reliability

Mobile app crash reports spike during checkout but Salesforce dashboards show green API availability.

Intermediatesecuritywebcors

Implement CORS and CSP for headless web apps calling Salesforce

Browser console shows CORS errors blocking Experience Cloud API calls from custom domain.

Intermediatemarketingapicart-abandonment

Design cart abandonment recovery via headless APIs

Marketing wants triggered emails when mobile users abandon baskets without batch exports.

Advancedmetadatatooling-apiadmin

Expose Salesforce metadata to headless admin tools

Internal admin portal needs read-only visibility into picklist values and entitlement configs.

Intermediateapilocalizationi18n

Handle locale and translation in headless API responses

Product descriptions return English only despite CMS translations existing for 12 locales.

Intermediateservice-cloudreturnsrma

Integrate headless returns portal with Service Cloud RMA

Customers initiate returns in mobile app but warehouse never receives RMA in Service Cloud.

Intermediatedevopsfeature-flagsrollout

Design feature flags for headless channel rollouts

New checkout flow tested in web but mobile release delayed—need shared toggle control.

Intermediatessrseonextjs

Compare server-side vs client-side rendering for SEO commerce

Organic search traffic dropped after SPA migration to client-only React storefront.

Advancedsecuritywebhooksverification

Implement webhook signature verification for Commerce events

Security audit requires proof inbound webhooks from Salesforce are authentic and unmodified.

Intermediateloyaltycheckoutredemption

Design headless loyalty redemption at checkout API

Shoppers cannot apply loyalty points in headless checkout though points show in profile API.

Intermediateperformanceload-testingpeak

Plan load testing headless APIs before peak season

Last Black Friday crashed APIs at 3x normal traffic; leadership wants proof of readiness this year.

Architectagentforcechannelsmessaging

Integrate WhatsApp Business API with Agentforce for order support

A consumer electronics brand routes WhatsApp order inquiries through a custom middleware layer. Customers expect catalog images, order lookups, and human escalation within WhatsApp session windows.

Advancedintegrationsslackapprovals

Build Slack operational apps surfacing Salesforce alerts and approvals

Sales ops wants discount approvals and large deal alerts in Slack channels with action buttons updating Salesforce without opening CRM. Security requires least-privilege OAuth per workspace.

Architectheadlesscommerce-apireact

Architect custom React storefront consuming Commerce Cloud SCAPI

Engineering rebuilds flagship.com in Next.js React while retaining Salesforce B2C Commerce for basket, pricing, and checkout. SEO and Core Web Vitals are board-level KPIs.

Advancedheadlessexperience-cloudauth

Implement headless Experience Cloud authentication with JWT bearer tokens

Partner portal built in custom SPA must authenticate users against Experience Cloud without iframe login, supporting SSO from corporate IdP and community self-registration.

Architectagentforceapipartners

Embed Agentforce session APIs in third-party partner portals

Logistics partners embed support agent in their shipper portal helping customers track Salesforce-stored shipments without visiting your brand site.

Architectheadlessb2brevenue-cloud

Design headless B2B quote configuration with Salesforce Revenue Cloud APIs

Industrial distributor replaces legacy CPQ UI with custom React buyer portal requiring complex bundle configuration, contracted pricing, and approval workflows.

Advancedagentforcesecurityauthentication

Secure MCP server authentication for Agentforce external tool calls

DevOps deployed MCP servers on Kubernetes exposing inventory and pricing tools to Agentforce. Security audit flagged missing OAuth and overly broad tool permissions.

Advancedcommerce-apieventswhatsapp

Send WhatsApp order status updates via Commerce API event pipeline

Customers opt into WhatsApp shipping updates at checkout but messages arrive hours late or with wrong tracking numbers after order export delays.

Intermediateflowautomationslack

Implement Slack slash commands triggering Salesforce Flow via API

Support engineers want /create-case Slack command pre-populating Case from thread context but early version created duplicate cases on Slack retries.

Advancedcachingssrreact

Fetch Salesforce data in React Server Components with cache strategy

Headless marketing site in Next.js App Router hammers Experience Cloud CMS and CRM APIs causing rate limit errors during traffic spikes.

Intermediateheadlessapiexperience-cloud

Deliver headless LMS course enrollment via Experience Cloud APIs

Training company embeds course catalog and enrollment in custom Vue app while Salesforce Experience Cloud manages learning objects and completion records.

Architectapib2bpricing

Expose negotiated B2B contract pricing APIs to headless buyer portals

Manufacturing buyers see list price on headless portal instead of contract rates negotiated in Salesforce, causing checkout abandonment and manual quote rework.

Advancedagentforceapimobile-sdk

Initialize Agentforce mobile SDK sessions from native iOS and Android apps

Retail mobile app embeds Agentforce for in-app support. Sessions drop on app backgrounding and authenticated shoppers lose order context when SDK reinitializes.

Advancedrestperformancecheckout

Reduce headless checkout latency with Composite REST API patterns

Single-page checkout makes seven sequential Salesforce callouts causing 4-second submit times on mobile networks during flash sales.

Architectcommercewhatsappcatalog

Enable WhatsApp catalog commerce integrated with B2C Commerce inventory

Marketing launches WhatsApp catalog shopping in emerging markets but orders oversell when catalog sync lags Commerce inventory by 30 minutes.

Intermediaterevenue-cloudslackapprovals

Route Slack discount approval workflows to Revenue Cloud quote records

Sales managers approve discount exceptions in Slack but quote status in Salesforce remains pending until someone manually updates CRM hours later.

Architectcommerceb2bpunchout

Implement B2B punchout catalog integration with headless buyer experience

Enterprise buyer procurement system punchout lands in Salesforce Commerce B2B storefront but return cart cXML fails validation breaking ERP requisition creation.

Advancedcommerceadminreact

Build custom React admin for Commerce catalog and price management

Merchandisers refuse Business Manager UX and demand custom React admin calling Commerce APIs for bulk price updates during promotions.

Intermediateknowledgeapiexperience-cloud

Expose headless Experience Cloud knowledge search to external support portals

Partner support portal needs federated search across Experience Cloud Knowledge and Service Cloud articles without exposing full CRM to partners.

Architectagentforcearchitecturemulti-channel

Coordinate multi-channel Agentforce widgets across web, mobile, and Slack

Customers start support in mobile app, continue on website, and internal ops monitor same threads in Slack alerting channel—inconsistent agent configs cause conflicting answers.

Intermediateheadlesscommerceslas

What is SLAS and why is it used in headless commerce?

A React storefront must authenticate guest and registered shoppers against B2C Commerce.

Intermediateheadlesspwa-kitcomposable-storefront

What is the Composable Storefront (PWA Kit)?

A retailer wants a modern React storefront on B2C Commerce.

Beginnerheadlesscommercescapi

What are the Salesforce Commerce APIs (SCAPI)?

Basic headless commerce question.

Advancedservice-cloudheadlessorders

How do you connect a headless storefront's orders to Service Cloud?

Customers call support about web orders and agents cannot see them.

Advancedagentforceheadlessmcp

What is MCP and how does it relate to Agentforce?

An architect asks how external AI tools can use Salesforce capabilities.

Advancedheadlessapi-gatewayrate-limiting

How do you design API rate limiting for a public headless channel?

A mobile app with 1 million users calls Salesforce-backed APIs.

Intermediateheadlesscmscontent

How do you serve CMS content to a headless channel?

Marketing content should appear consistently on web, app and portal.

Advancedheadlessarchitecturebff

What is a backend-for-frontend (BFF) and why use it with Salesforce?

A mobile app needs data from Salesforce, ERP and loyalty in one screen.

Intermediateheadlessssrseo

How do you ensure SEO for a headless storefront?

Product pages built as a single-page app are not indexed well.

Advancedheadlessapi-versioning

How do you design versioning for public APIs backed by Salesforce?

Partners integrate with your APIs and you need to change response formats.

Beginnerheadlessexperience-cloud

What is the difference between headless and traditional Experience Cloud sites?

A company debates building a portal in Experience Cloud or a custom React app.

Advancedsecurityheadlesswebhooks

How do you implement webhooks securely for Salesforce-triggered events?

External partners want HTTP notifications when orders change.

Intermediateheadlessheroku

What role does Heroku play in Salesforce headless architectures?

A team needs custom APIs and processing beyond Apex limits.

Advancedheadlessmonitoringslo

How do you monitor headless channel reliability?

Checkout errors spike during sales events.

Advancedheadlesscheckoutconsistency

How do you handle cart and checkout consistency in headless commerce?

Shoppers see prices change between cart and checkout.

Intermediateheadlessmobile-sdkmobile

What is the Salesforce Mobile SDK and when do you use it?

A field app needs offline access to Salesforce data with a custom UI.

Advancedheadlessapi-designpartner-api

How do you design an API for a partner channel on top of Salesforce data?

Resellers want to check order status and create returns programmatically.

Intermediateheadlessui-api

What is the UI API and why would a headless app use it?

A custom web app wants Salesforce layouts and picklist values.

Advancedagentforceheadlessagent-api

How do you embed Agentforce in a custom website or app?

A bank's mobile app needs an AI assistant backed by Salesforce.

Intermediateheadlessb2b-commerce

What is B2B Commerce on Lightning and how is it used headlessly?

A manufacturer wants self-service ordering for dealers.

Intermediateheadlessoauthemployees

How do you handle authentication for a headless app used by employees?

An internal React app calls Salesforce APIs for logged-in staff.

Intermediateheadlesslwclightning-out

What is Lightning Out and when would you use it?

An external intranet should show a Salesforce LWC.

Intermediateheadlesscustomer-sync

How do you sync headless channel customers into Salesforce CRM?

Web registrations must create Person Accounts in CRM.

Intermediateheadlessgraphql

What is GraphQL in the Salesforce context and why use it for headless?

A mobile app makes 6 REST calls to render one screen.

Advancedheadlesscommercelocalisation

How do you design content and pricing localisation for global headless storefronts?

A storefront serves 12 countries with different currencies and languages.

Intermediatesecurityheadlessapi-gateway

What role does an API gateway play in securing Salesforce APIs?

Security wants a single control point for external access.

Advancedheadlesscachingperformance

How do you cache Salesforce data for a high-traffic website?

Product catalogue pages are requested 1 million times a day.

Intermediateheadlessexperience-cloudcms

What is Experience Cloud as a headless CMS?

Marketing wants to manage content in Salesforce but render it in a Next.js site.

Advancedheadlessload-testing

How do you test headless APIs before peak season?

Black Friday traffic is 10x normal.

Intermediateheadlesswebhooksplatform-events

What is a webhook-to-platform-event bridge?

A payment provider sends webhooks that must update Salesforce orders.

Advancedheadlessmigrationb2c-commerce

How do you migrate from SiteGenesis/SFRA to a headless storefront?

A retailer on SFRA wants Composable Storefront.

Intermediateheadlessconnect-api

What is Salesforce's Connect REST API used for?

A developer wonders which API powers B2B Commerce and Chatter integrations.

Architectaisecurityheadless

How do you secure MCP tools that expose Salesforce actions to external AI clients?

An internal AI assistant will call Salesforce through MCP tools.

Intermediatedata-cloudheadlesspersonalisation

What is the role of Data Cloud in headless personalisation?

A headless site wants personalised recommendations.

Intermediateintegrationheadlessslack

How do you build a Slack app that surfaces Salesforce data?

Sales leaders want deal alerts and quick updates from Slack.

Beginnerheadlesspwa

What is a PWA and why use it for commerce?

Basic headless question.

Beginnerheadlesscomposable

What does "composable" mean in commerce architecture?

Basic concept.

Intermediateheadlessoauthjwt

How do you authenticate server-to-server calls to Salesforce for a headless backend?

A Node.js backend reads Salesforce data.

Beginnerheadlesscdn

What is a CDN and how does it help headless sites?

Quick question.

Intermediateheadlesserror-handlingux

How do you handle errors gracefully in a headless storefront?

The product API is down for 5 minutes.

Beginnerheadlessssrcsr

What is SSR vs CSR?

Quick question.

Intermediateheadlesseventsnotifications

How do you design order status notifications across channels?

Customers want SMS, email and app notifications.

Beginnerheadlessapi-contract

What is an API contract and why does it matter?

Frontend and backend teams disagree on payloads.

Intermediateservice-cloudheadless

How do headless apps use Salesforce for customer service?

A mobile app needs support features.

Beginnerheadlessrate-limiting

What is rate limiting and why is it essential for public APIs?

Quick question.

Advancedintegrationheadlessinventory

How do you sync inventory between ERP and a headless storefront?

Overselling happens during flash sales.

Intermediateheadlesslwr

What is the role of Experience Cloud LWR sites in headless strategies?

Quick strategy question.

Intermediateheadlessmobilesecrets

How do you secure API keys in a mobile app?

A mobile app embeds an API key.

Beginnerheadlesswebhookspolling

What are webhooks vs polling?

Quick question.

Intermediateheadlessidentitycheckout

How do you implement guest checkout with later account creation?

Customers want to buy without registering.

Intermediateheadlessobservability

What is observability in headless systems?

Quick operations question.

Advancedheadlessperformancepersonalisation

How do you personalise content without slowing pages?

Personalisation adds 800ms to page loads.

Advancedheadlessmulti-brand

How do you handle multi-brand storefronts on one Salesforce Commerce instance?

A retailer runs three brands.

Intermediateheadlessapi-led

What is the difference between an Experience API and a System API?

Quick API-led question.

Intermediateheadlessteam

How do you plan a headless project team?

Leadership asks what skills are needed.