Submit Sales Transaction Action

Initiate the fulfillment process of any sales transaction, such as a quote, an order, or an order summary.

Specify the ID of the sales transaction to be fulfilled. The fulfillment process includes these steps.

  • Intake process
  • Fulfillment orchestration

The intake process happens synchronously or asynchronously, which is specified by using the intakeRequestType input parameter. You can also specify the priority for the execution of the fulfillment process, which is specified by using the fulfillmentPriority parameter.

This action is available in API version 63.0 and later.

Special Access Rules 

The Submit 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/submitSalesTransaction

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a placeholder for your OAuth access token.

Inputs 

InputTypeDescription
allowOverrideOfPointOfNoReturnbooleanIndicates whether to override the point of no return setting for the fulfillment step ( true ) or not ( false ). The default value is false. Available in API version 64.0 and later.
fulfillmentAdapterstringType of fulfillment adapter. Valid values are StandardOrder; or GenericAdapter—Available in API version 64.0 and later.
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.
priorityLimitActionstringType 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.
requestedFulfillmentPrioritystringPriority to fulfill the sales transaction. Valid values are High, Bulk, or Default.
requestIdstringRequest ID of the invocation.
resolvedFulfillmentPrioritystringResolved priority to fulfill the sales transaction.
submitStatusstringSubmit status of the invocation.
usedContextIdstringID of the used context that updates the decomposition process.

Example 

POST

This sample request is for the Submit Sales Transaction action.

1{
2  "inputs": [
3    {
4      "allowOverrideOfPointOfNoReturn": false,
5      "salesTransactionId": "801DV000000CbIPYA0",
6      "intakeRequestType": "Synchronous",
7      "fulfillmentAdapter": "StandardOrder",
8      "fulfillmentPriority": "Default",
9      "priorityLimitAction": "Reject"
10    }
11  ]
12}

This sample response is for the Submit Sales Transaction action.

1[
2  {
3    "actionName": "submitSalesTransaction",
4    "errors": null,
5    "invocationId": null,
6    "isSuccess": true,
7    "outcome": null,
8    "outputValues": {
9      "submitStatus": "SUCCESS",
10      "resolvedFulfillmentPriority": "Default",
11      "requestedFulfillmentPriority": "Default",
12      "usedContextId": "0abc8db32b30d09c5051e4561f0b39d938a3bd8db4ccb13e04d41019e427211d",
13      "requestId": "927f72b7-85e0-4b5d-b92e-c265f41898f0",
14      "fulfillmentPlanId": "13VDV00000008M92AI"
15    },
16    "sortOrder": -1,
17    "version": 1
18  }
19]