Get Started with Communications, Media, and Energy (CME) Common APIs
Documentation Changelog
EPC API Swagger Reference
EPC API Response Format
Create Product Objects
Retrieve Product Details
Update Products
Delete Product Objects
Update the fields of a product by specifying its ID and the fields to update in the request body.
1PUT /v2/epc/products1updateProduct21APIProductRestHandler1PCAppHandlerCommunication (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/products |
1PUT
2{
3 "epcRequest": {
4 "entity": {
5 "Id": "01t3h000001gyCFAAY",
6 "vlocity_cmt__LifecycleStatus__c": "Draft",
7 "Name": "Product-Update",
8 "ProductCode": "Product-Update",
9 "Description": "Product updated with new name and code"
10 }
11 }
12}1{
2 "epcResponse": {
3 "entities": [
4 {
5 "entity": {
6 "attributes": {
7 "type": "Product2",
8 "url": "/services/data/v52.0/sobjects/Product2/01t3h000001gyCFAAY"
9 },
10 "vlocity_cmt__VersionLabel__c": "Version-1",
11 "Name": "Product-Update",
12 "ProductCode": "Product-Update",
13 "vlocity_cmt__SpecificationType__c": "Offer",
14 "vlocity_cmt__SpecificationSubType__c": "Bundle",
15 "vlocity_cmt__LifecycleStatus__c": "Draft",
16 "vlocity_cmt__GlobalGroupKey__c": "a4096cc5-8bbb-cfd5-7b93-869a7c2b4caf",
17 "RecordTypeId": "0123h000000slEnAAI",
18 "Id": "01t3h000001gyCFAAY",
19 "RecordType": {
20 "attributes": {
21 "type": "RecordType",
22 "url": "/services/data/v52.0/sobjects/RecordType/0123h000000slEnAAI"
23 },
24 "Id": "0123h000000slEnAAI",
25 "Name": "Product"
26 }
27 }
28 }
29 ],
30 "overallResult": "success"
31 }
32}