Place Sales Transaction for Consumer Sales Action
Place a sales transaction for Consumer Sales by submitting orders with validated cart contents and delivery information.
This action is available in API version 68.0 and later.
This is applicable for Consumer Sales for business-to-consumer (B2C).
You need the CME B2C permission set to use this invocable action.
URI: /services/data/v68.0/actions/standard/placeSalesTransactionConsuSls
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where, TOKEN is a variable.
| Input | Type | Description |
|---|---|---|
recordsGraph | Apex | Required. An Apex Graph record that contains the records to place as a sales transaction. |
configurationOptions | Apex | Optional. Options that control configuration behavior during the sales transaction. |
contextInfoDetails | Apex | Optional. An Apex ContextInfo record that contains the sales transaction context details. |
catalogRatesPref | string | Optional. The preference for fetching catalog rates during the sales transaction. |
pricingPref | string | Optional. The preference for calculating pricing during the sales transaction. |
| Output | Type | Description |
|---|---|---|
salesTransactionId | string | The ID of the sales transaction that was placed. |
trackerId | string | The tracker ID of the sales transaction. |
statusUrl | string | The URL to check the status of the sales transaction. |
isSuccess | boolean | Indicates whether the sales transaction was executed. |
contextDetails | Apex | An Apex ContextDetails record that contains the sales transaction context details. |
errorMessages | Apex[] | The list of error messages encountered while placing the sales transaction. |
- POST
This sample request is for the Place Sales Transaction for Consumer Sales action.
This sample response is for the Place Sales Transaction for Consumer Sales action.