Orchestrate Sales Transaction Action

Initiate the orchestration process for a sales transaction. This action executes only the plan composition and orchestration phases, without performing decomposition.

Specify the ID of the sales transaction to orchestrate. The decomposition process includes these steps.

  • Intake process
  • Fulfillment orchestration

The intake process occurs synchronously or asynchronously, as specified with the intakeRequestType input parameter. You can also specify the orchestration priority using the fulfillmentPriority parameter.

Use this action when the sales transaction is decomposed either by a previous decomposition action or by custom logic before orchestrating the fulfillment plan.

This action is available in API version 68.0 and later.

Special Access Rules 

The Orchestrate Sales Transaction action is available in Enterprise, Unlimited, and Developer Editions of Revenue Management. See the required permissions to access and call this invocable action.

Supported REST HTTP Methods 

URI: /services/data/v68.0/actions/standard/orchestrateSalesTransaction

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a placeholder for your OAuth access token.

Inputs 

InputTypeDescription
allowOverride​OfPointOfNoReturnbooleanIndicates whether to override the point-of-no-return setting for the fulfillment step ( true ) or not ( false ). The default value is false.
fulfillmentAdapterstringRequired. Type of fulfillment adapter. Valid values are StandardOrder or GenericAdapter.
fulfillmentPrioritystringPriority to fulfill the sales transaction. Valid values are High, Bulk, or Default.
hydratedContextIdstringID of the hydrated context.
intakeRequestTypestringType of request to process the intake. Valid values are Synchronous or Asynchronous.
priorityLimit​ActionstringType of action to perform when the priority limit is reached. Valid values are Reject or Downgrade. This parameter is applicable only when you specify the fulfillmentPriority parameter.
salesTransactionIdidRequired. ID of the sales transaction to submit.

Outputs 

OutputTypeDescription
errorCodestringCode indicating the type of error.
fulfillmentPlanIdidID of the composed fulfillment plan.
requested​FulfillmentPrioritystringPriority to fulfill the sales transaction. Valid values are High, Bulk, or Default.
requestIdstringRequest ID of the invocation.
resolved​FulfillmentPrioritystringResolved priority to fulfill the sales transaction. Valid values are High, Bulk, or Default.
submitStatusstringSubmission status of the sales transaction for orchestration. Valid values are SUCCESS, ERROR, SUBMITTED, or REJECTED.
usedContextIdstringID of the context that updates the orchestration process.

Example 

POST

This sample request is for the Orchestrate Sales Transaction action.

1{
2    "inputs": [
3        {
4            "fulfillmentAdapter": "StandardOrder",
5            "intakeRequestType": "Synchronous",
6            "salesTransactionId": "801xx000003GYgZAAW"
7        }
8    ]
9}

This sample response is for the Orchestrate Sales Transaction action.

1[
2  {
3    "actionName": "orchestrateSalesTransaction",
4    "errors": null,
5    "invocationId": null,
6    "isSuccess": true,
7    "outcome": null,
8    "outputValues": {
9      "usedContextId": "0000000s21to18g00091764134566956e2100424de0d4af8869669df515e24cb",
10      "requestId": "ac2a9d18-c702-43ee-bc08-1c03061b549c",
11      "fulfillmentPlanId": "13Vxx0000004CFUEA2",
12      "submitStatus": "SUCCESS",
13      "resolvedFulfillmentPriority": "Default",
14      "requestedFulfillmentPriority": "Default"
15    },
16    "sortOrder": -1,
17    "version": 1
18  }
19]