Get Started with Communications, Media, and Energy (CME) Common APIs
Documentation Changelog
EPC API Swagger Reference
EPC API Response Format
Create Versions of Products
Retrieve the Versions of Products
Create versions of products in Vlocity Product Console by specifying the ID of the product and the version label in the request body.
1POST /v2/epc/products/{product-ID}/versions1createVersionProduct21APIProductVersionRestHandler1PCAppHandlerCommunication (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/{product-ID}/versions |
1POST /v2/epc/products/01t3h00000214uLAAQ/versions
2
3{
4 "epcRequest": {
5 "entity": {
6 "Id" : "01t3h00000214uLAAQ",
7 "vlocity_cmt__VersionLabel__c": "Version-2"
8 }
9 }
10}1{
2 "epcResponse": {
3 "entities": [
4 {
5 "entity": {
6 "attributes": {
7 "type": "Product2",
8 "url": "/services/data/v52.0/sobjects/Product2/01t3h000001h1v2AAA"
9 },
10 "CanUseQuantitySchedule": false,
11 "CanUseRevenueSchedule": false,
12 "CurrencyIsoCode": "USD",
13 "Description": "Product created by Ashish to test Update",
14 "IsActive": true,
15 "IsArchived": false,
16 "IsDeleted": false,
17 "Name": "Product-Ashish",
18 "ProductCode": "Product-Ashish",
19 "RecordTypeId": "0123h000000slEnAAI",
20 "SystemModstamp": "2021-09-14T07:39:48.000+0000",
21 "vlocity_cmt__EndDate__c": "2026-01-31",
22 "vlocity_cmt__EndOfLifeDate__c": "2026-01-30T18:30:00.000+0000",
23 "vlocity_cmt__GlobalGroupKey__c": "a4096cc5-8bbb-cfd5-7b93-869a7c2b4caf",
24 "vlocity_cmt__GlobalKey__c": null,
25 "vlocity_cmt__IsConfigurable__c": false,
26 "vlocity_cmt__IsCustomerSubscription__c": false,
27 "vlocity_cmt__IsLocationDependent__c": false,
28 "vlocity_cmt__IsNotAssetizable__c": false,
29 "vlocity_cmt__IsOrderable__c": true,
30 "vlocity_cmt__JeopardySafetyIntervalUnit__c": "Seconds",
31 "vlocity_cmt__LifecycleStatus__c": "Draft",
32 "vlocity_cmt__Scope__c": "Order Item",
33 "vlocity_cmt__SellingEndDate__c": "2026-01-30T18:30:00.000+0000",
34 "vlocity_cmt__SpecificationSubType__c": "Bundle",
35 "vlocity_cmt__SpecificationType__c": "Offer",
36 "vlocity_cmt__Status__c": "Draft",
37 "vlocity_cmt__SubType__c": "None",
38 "vlocity_cmt__TrackAsAgreement__c": false,
39 "vlocity_cmt__Type__c": "None",
40 "vlocity_cmt__VersionLabel__c": "Version-2",
41 "vlocity_cmt__VersionStartDateTime__c": null,
42 "vlocity_cmt__VersionEndDateTime__c": null,
43 "Id": "01t3h00000214uLAAQ"
44 }
45 }
46 ],
47 "overallResult": "success"
48 }
49}