Deep Clone (POST)
Copy related records of an object along with the main product record.
Resource
Resource Example
Available Version: 63.0
HTTP Methods: POST
Request Body for POST
JSON Example
Properties
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
mainObjectApiName | String | API name of the object. The supported object is Product2. | Required | 63.0 |
mainRecordFieldValues | Map<String, String> | Mapping of the API name of the field to its value. The values passed through this map are set for the created record. You can pass the Name field only through this map. | Optional | 63.0 |
mainRecordId | String | ID of the record. | Required | 63.0 |
Response Body for POST: Deep Clone Response