Sales Transaction Input
Input representation of the details of the request to place a sales transaction, such as a quote or an order.
This is a sample request to create a sales transaction for a quote. This example also skips tax calculation by specifying a value for the optional taxPref property.
This sample request assigns a TransactionProcessingType record to a quote without any additional preferences. In this example, the TransactionType value for a record is set to a TransactionProcessingType record.
This is a sample request to insert, update, or delete a quote line item.
This is a sample request to define grouping of quote line items.
This is s a sample request for the initial grouping of the quote with all the quote lines assigned to the first group.
This is a sample request to ungroup a quote but retain the quote lines.
This is a sample request to create a new group.
This example shows a sample request to delete a group.
This is a sample request to group order items based on criteria.
This is a sample request to save changes to a ramp deal by using context ID. The context ID is returned by the Ramp Deal APIs. See Create Ramp Deal (POST).
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
catalogRatesPref | String | Rate card entries defined in the catalog that must be fetched for sales items with usage-based pricing during the creation of the sales transaction. Valid values are:
| Optional | 63.0 |
configurationPref | Configurator Preference Input | Configuration preference during the quote process. These preferences ensure that quotes are defined as per the requirement. | Optional | 63.0 |
contextDetails | Context Input | Context details that are created for a sales transaction. | Required if the graph property isn’t specified. | 63.0 |
graph | Object Graph Input | The sObject graph of the sales transaction to be ingested. You can perform create, update, or delete operations on objects from the Sales Transaction context definition by using this property. Additionally, perform create, update, or delete operations on custom objects and fields in your extended context definition. To create custom objects that are at the grandchildren level from a line item, you must create the hierarchy of objects until the grandchild object in the same request. | Required if the contextDetails property isn’t specified. | 63.0 |
groupRampAction | String | Specifies the action that you want to perform on group ramp segments. You can also convert a non-ramped group into a ramped group. Valid values are:
graph property. See Group Ramp Action Input to refer to examples. | Optional | 65.0 |
pricingPref | String | Pricing preference during the creation of a sales transaction. Valid values are:
The default value is System. | Optional | 63.0 |
taxPref | String | Specifies whether to execute or skip the tax calculation step for each sales transaction record. Valid value is Skip. If you don’t specify this value, then tax calculation request is performed by default. | Optional | 65.0 |