Decompose Sales Transaction Action
Decompose a sales transaction, such as a quote, order, or order summary.
Specify the ID of the sales transaction to decompose. The decomposition process includes these steps.
- Intake process
- Sales transaction decomposition
The intake process occurs synchronously or asynchronously, as specified with the intakeRequestType input parameter. You can also specify the decomposition priority using the fulfillmentPriority parameter.
This action executes only the decomposition process and stops before orchestration. You can execute custom logic in between the decomposition and orchestration processes.
This action is available in API version 68.0 and later.
The Decompose 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.
URI: /services/data/v66.0/actions/standard/decomposeSalesTransaction
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a placeholder for your OAuth access token.
| Input | Type | Description |
|---|---|---|
allowOverrideOfPointOfNoReturn | boolean | Indicates whether to override the point of no return setting for the fulfillment step ( true ) or not ( false ). The default value is false. |
fulfillmentAdapter | string | Required. Type of fulfillment adapter. Valid values are StandardOrder or GenericAdapter. |
fulfillmentPriority | string | Priority to fulfill the sales transaction. Valid values are High, Bulk, or Default. |
hydratedContextId | string | ID of the hydrated context. |
intakeRequestType | string | Type of request to process the intake. Valid values are Synchronous or Asynchronous. |
priorityLimitAction | string | Type 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. |
salesTransactionId | id | Required. ID of the sales transaction to submit. |
| Output | Type | Description |
|---|---|---|
errorCode | string | Code that corresponds to the type of error encountered. |
requestedFulfillmentPriority | string | Priority to fulfill the sales transaction. Valid values are High, Bulk, or Default. |
requestId | string | Request ID of the invocation. |
resolvedFulfillmentPriority | string | Resolved priority to fulfill the sales transaction. Valid values are High, Bulk, or Default. |
submitStatus | string | Submission status of the sales transaction for decomposition. Valid values are Success, Error, Submitted, or Rejected. |
usedContextId | string | ID of the used context that updates the decomposition process. |
POST
This sample request is for the Decompose Sales Transaction action.
This sample response is for the Decompose Sales Transaction action.