ORDER-MANAGEMENT-ADMINISTRATOR practice question 4 of 15

Which of the following options represent two ways that an administrator can utilize APIs in Workbench to query Order Summaries?

Full set: 85 questions
Answer options
A: Apex API and Connect API
B: Connect API and Platform API Correct answer
C: Platform API and Composite API
D: Composite API and Invocable API
E: Invocable API and Apex API
Correct Answer:
B. Connect API and Platform API
Explanation

Workbench is a tool that allows interaction with various Salesforce APIs. An administrator can query Order Summaries in two primary ways. First, by using the standard SOQL Query functionality, which utilizes the core Platform API (specifically, the SObject REST/SOAP API). Second, by using the REST Explorer tool within Workbench to make calls to the Connect API. The Connect API provides specific, structured endpoints for interacting with Salesforce Order Management objects, including querying Order Summaries, and is a recommended API for this purpose.

Why Incorrect

A. The Apex API is not a public endpoint for external tools like Workbench to use for querying; it relates to exposing Apex methods.
C. While the Composite API can execute a SOQL query as a sub-request, the Platform API is the more direct and fundamental API for querying. Connect API is more specific to the domain.
D. The Invocable API is used to execute Apex methods designated as invocable actions, not for running direct SOQL queries against objects.
E. Both the Invocable API and Apex API are incorrect choices for direct object querying through a tool like Workbench.

References

1. Salesforce Developer Documentation. (2023). Connect REST API Developer Guide, Order Management Resources. "Use the Order Management resources to manage orders from creation through fulfillment... Resources: /commerce/order-management/order-summaries".

2. Salesforce Developer Documentation. (2023). REST API Developer Guide, Query. "Use the Query resource to execute a SOQL query." This describes the core Platform API functionality for querying SObjects, which is what Workbench's SOQL Query tab utilizes.

3. Salesforce Developer Documentation. (2023). Workbench. "Workbench is a powerful, web-based suite of tools designed for administrators and developers to interact with Salesforce.com organizations via the Force.com APIs." This confirms Workbench's role as an API client.

Scroll to Top