Where TOKEN is a placeholder for your OAuth access token.
Inputs
Input
Type
Description
options
Apex-defined
Specifies options to clone a ramp segment within a sales transaction. You can clone only the last ramp segment. Valid values are recordTypeId—ID of the record type related to the record to clone. Optional; or lineScope—Specifies the scope for cloning a ramp segment. This property determines which line items must be cloned and added to the cloned segment. You can specify these options: AllLines—Specifies whether all line items in a ramped group must be cloned, or RampedLinesOnly—Specifies whether only the ramped line items must be cloned. A segment identifier is created for the newly cloned line items, ensuring date continuity between the existing and cloned segment.
recordIds
List<String>
Required. ID of the record to be cloned. You can specify a single record ID only.
salesTransactionId
String
Required. ID of the sales transaction related to the record IDs to clone.
Outputs
Output
Type
Description
newRecordId
String
ID of the cloned sales transaction.
Example
POST
Here’s a sample request for the Deep Clone Sales Transaction action.