Clone Sales Transaction (POST)
Create a clone of a sales transaction, such as a quote or an order. You can also clone a quote line item or an order item record with its related records and configurations.
This API supports the cloning of records for these objects.
- Quote
- QuoteLineItem
- OrderItem
- QuoteLineGroup
- Order
- OrderItemGroup
You can clone all items in a quote line group or order item group when the record to clone is a quote line group or an order item group record.
64.0
POST
JSON Example
This is a sample request to clone a record within a sales transaction.
This is a sample request to clone all line items in a ramped group within a sales transaction.
Properties
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
recordIds | String[] | ID of the record to be cloned. You can specify a single record ID only. | Required | 64.0 |
salesTransactionId | String | ID of the sales transaction related to the record IDs to clone. | Required | 64.0 |
options | Clone Options Input | Specifies options to clone a ramp segment within a sales transaction. You can clone only the last ramp segment. | Optional | 65.0 |