Submit Order Action
Submit an order to Dynamic Revenue Orchestrator (DRO) for fulfillment.
By using the Submit Order action, you can perform:
- Order decomposition
- Fulfillment orchestration that’s driven through message queues
- Dynamic plan composition that’s based on the incoming order
This action is available in API version 61.0 and later.
The Submit Order action is available in Enterprise, Unlimited, and Developer Editions of Revenue Cloud. See the required permissions to access and call this invocable action.
URI: /services/data/v68.0/actions/standard/submitOrder
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a placeholder for your OAuth access token.
| Input | Type | Description |
|---|---|---|
orderId | string | Required. ID of the order to submit to DRO. |
callType | string | Optional. Mode that the order intake must be processed in. Valid values are Synchronous or Asynchronous. The default value is Asynchronous. |
contextId | string | Optional. ID of the hydrated context. See Context Service. |
| Output | Type | Description |
|---|---|---|
errorCode | string | Error code for the failed request, if any. |
fulfillmentPlanId | string | ID of the orchestrated fulfillment plan that’s generated. Returned only if the callType value is Synchronous. |
requestId | string | Unique ID of the invocation request that helps identify a single request. |
submitStatus | string | Submit status of the invocation request. Valid values are SUCCESS, ERROR, SUBMITTED, or REJECTED. |
usedContextId | string | Hydrated context ID that’s used in this request, which can be different from the contextId input. |
POST
This example shows a sample request.
This example shows a sample response when the call type is synchronous.
This example shows a sample response when the call type is asynchronous or isn’t specified.
This example shows a sample response when a validation error occurs.
: To troubleshoot or debug errors, retrieve a list of explainability action logs. See Action Logs.
GET Logs for Order Intake
This resource example includes sample query parameters to retrieve the action logs for an order intake.
This example shows the sample response. The actionLog property contains the action logs.
GET Logs for Decomposition Scope
This resource example includes sample query parameters to retrieve the decomposition-related action logs.
This example shows the sample response. The actionLog property contains the action logs.
GET Logs for Decomposition Enrichment
This resource example includes sample query parameters to retrieve the logs for decomposition enrichment tasks. For example, conversion of order items to fulfillment order line items.
The secondaryFilter property is optional. If this property is specified, the API returns the enrichment rule details for a decomposition rule. If this property is unspecified, the API returns all enrichment rule details for the order.
This example shows the sample response. The actionLog property contains the action logs.
GET Logs for Plan Composition
This resource example includes sample query parameters to retrieve the logs for plan composition.
This example shows the sample response. The actionLog property contains the action logs.
Capture Logs for an Order
This resource example includes sample query parameters to retrieve the logs for an order.
This example shows the sample response. The actionLog property contains the action logs.