Freeze Sales Transaction Action
Freeze a sales transaction to disable the modification of a line item.
A line item can reach a milestone in the fulfillment process, which is known as a point of no return, where the line item can’t accept modifications. Get details about the point of no return for each line item of a sales transaction.
This action is available in API version 64.0 and later.
Special Access Rules
The Freeze Sales Transaction action is available in Enterprise, Unlimited, and Developer Editions of Revenue Cloud. See the required permissions to access and call this invocable action.
Supported REST HTTP Methods
URI: /services/data/v68.0/actions/standard/freezeSalesTransaction
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a placeholder for your OAuth access token.
Inputs
Input Type Description salesTransactionIdid Required. ID of the sales transaction that’s submitted to the Dynamic Revenue Orchestrator.
Outputs
Output Type Description errorCodestring Code indicating the type of error. orchestrationPlanIdid ID of the created orchestration plan. planStatestring Status of the created orchestration plan. Valid values are FAILURE, NOTSTARTED, PENDING, COMPLETED, FROZEN, or INPROGRESS. pointOfNoReturnDetailForLineItemsListstring Collection of sales transaction line items, where each item includes a boolean value indicating whether it has reached the point of no return. requestIdstring ID of the request to get the point of no return details. salesTransactionIdstring ID of the sales transaction that’s submitted to the Dynamic Revenue Orchestrator.
Example
POST
This sample request is for the Freeze Sales Transaction action.
1 {
2 "inputs": [
3 {
4 "salesTransactionId": "801SG00000jQO1ZYAW"
5 }
6 ]
7 }
This sample response is for the Freeze Sales Transaction action.
1 [
2 {
3 "actionName": "freezeSalesTransaction",
4 "errors": null,
5 "invocationId": null,
6 "isSuccess": true,
7 "outcome": null,
8 "outputValues": {
9 "salesTransactionId": "801SG00000jQO1ZYAW",
10 "orchestrationPlanId": "13VSG00000229Z72AI",
11 "requestId": "452789a6-f2ab-4079-8aca-a11dbfef6a45",
12 "pointOfNoReturnDetailForLineItemsList": "802SG000007D0B4YAK\": {\namendAllowed: false,\nanyChangesAllowed: true,\ncancelAllowed: false\n}, \n802SG000007D0B3YAK\": {\namendAllowed: false,\nanyChangesAllowed: true,\ncancelAllowed: false\n}",
13 "planState": "Frozen"
14 },
15 "sortOrder": -1,
16 "version": 1
17 }
18 ]