---
schema_version: "1"
id: 7d17b2e648e683e1b9d160d78c793be03f8b4aa08f53af9c84d0cd6ed5f2bf75
title: CloneSalesQToWC_Discounts API
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_t_clonesalesqtowc_discounts_api_65013.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_t_clonesalesqtowc_discounts_api_65013.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 08e67a9c1d44d3881c743e788db3d5758db05ef1f14704ad7614b021fc2eebf6
description: Clone sales quote line items (QLIs) to working cart QLIs with discounts and adjustments.
products:
  - Communications
release: "264"
---
# CloneSalesQToWC\_Discounts API

Clone sales quote line items (QLIs) to working cart QLIs with discounts and adjustments.

This API is used with the CloneSalesQToWCWDiscounts Vlocity Integration Procedure (VIP) to copy the sales QLIs to the working cart QLIs, including discounts and adjustments.

## URI

```
/services/apexrest/vlocity_cmt/v1/integrationprocedure/CloneSalesQToWC_Discounts/
```

## HTTP Method

POST

## Request

```
{
  "SalesQuoteId": "0Q03h000000TuXG",
  "RootItemIds": [{
    "Id": "0QL3h000000Pvy4GAC"
  }]
}
```

## Response

```
{
  "WorkingCartId": "0Q03h000000TpbH"
}
```