Get Started with Communications, Media, and Energy (CME) Common APIs
Documentation Changelog
EPC API Swagger Reference
EPC API Response Format
Create Promotions
Retrieve Promotion Details
Update Promotions
Delete Promotions
Delete promotions in Vlocity Product Console by specifying them in the URI.
1DEL /v2/epc/promotions?ids={promotions-id}1- ```nolang
2DEL /v2/epc/promotions/{promotions-id}1deletePromotion1APIPromotionRestHandler1PCAppHandlerCommunication (vlocity_cmt)
For API parameter names and descriptions, see the Swagger (OpenAPI) reference documentation for Industries EPC REST APIs.
| Response Format | JSON |
|---|---|
| Resource URL | /services/apexrest/{namespace}/v2/epc/promotions?ids={promotions-id} |
1DELETE v2/epc/promotions?ids=a3K3h0000006AiyEAE1- ```nolang
2DELETE v2/epc/promotions/a3K3h0000006AiyEAE1{
2 "epcResponse": {
3 "entities": [
4 {
5 "entity": {
6 "attributes": {
7 "type": "vlocity_cmt__Promotion__c",
8 "url": "/services/data/v52.0/sobjects/vlocity_cmt__Promotion__c/a3K3h0000006AiyEAE"
9 },
10 "Id": "a3K3h0000006AiyEAE"
11 }
12 }
13 ],
14 "overallResult": "success"
15 }
16}