Documentation Changelog
TMF621 v5 Use Cases
TMF622 v4 Use Cases
TMF622 v5 Use Cases
TMF629 v4 Use Cases
TMF637 v4 Use Cases
TMF648 v4 Use Cases
TMF667 v4 Use Cases
TMF671 v4 Use Cases
TMF679 v5 Use Cases
Known Issues
FAQ
In general, you can consider the various use cases listed based on the operation you want to perform.
Starting from the Winter ’27 release, only the Direct Access option will be supported. The MuleSoft gateway option will be deprecated, and customers must update their integrations to use the Connect/Apex REST endpoints for continued access to the inbound APIs.
Important
It is assumed that you have completed the following.
NOTE:
| I want to | Request Type | Example URL |
|---|---|---|
| Retrieve and display details of a particular customer account. | GET by ID | {{orgendpoint}}/services/data/{{version}}/connect/comms/customermanagement/v4/customer/{ID} NOTE: For invalid customer ID, you will receive HTTP 404 error. |
| Based on the provided field values, retrieve and display details of customer accounts. | GET with Fields | {{orgendpoint}}/services/data/{{version}}/connect/comms/customermanagement/v4/customer?fields=name NOTE: The requested fields will be part of output, if they have value. |
| List all the customer accounts present in the system. | GET List | {{orgendpoint}}/services/data/{{version}}/connect/comms/customermanagement/v4/customer |
| List customer account details present in the system based on the filter applied. | GET List with Filtering | {{orgendpoint}}/services/data/{{version}}/connect/comms/customermanagement/v4/customer?name=Edge Communications NOTE: The requested fields will be part of output, if they have value. |
| List customer accounts based on the name, limit the number of customer accounts to a maximum of specified limit, and starts the results display from page specified by offset. | GET List by limit and offset | {{orgendpoint}}/services/data/{{version}}/connect/comms/customermanagement/v4/customer?fields=name&pageLimit=2&offset=70 |
| Create a new customer account by providing the required details. | POST | {{orgendpoint}}/services/data/{{version}}/connect/comms/customermanagement/v4/customer NOTE: A new customer account gets created based on the values mentioned for the mandatory fields. |
| Update details of particular customer account. | PATCH | {{orgendpoint}}/services/data/{{version}}/connect/comms/customermanagement/v4/customer/{ID} |
| Delete a customer account. | DELETE | {{orgendpoint}}/services/data/{{version}}/connect/comms/customermanagement/v4/customer/{ID} |
Consider you want to retrieve details of a particular customer account.
https://vlocity-1f5-dev-ed.develop.my.salesforce.com/services/data/v60.0/connect/comms/customermanagement/v4/customer/{ID}
1{
2 "account": [
3 {
4 "description": "Chain of hotels and resorts across the US, UK, Eastern Europe, Japan, and SE Asia.",
5 "href": "/services/data/v60.0/sobjects/account/001xx000003GYdPAAW",
6 "id": "001xx000003GYdPAAW",
7 "name": "Grand Hotels & Resorts Ltd",
8 "referredType": "Billing Account"
9 }
10 ],
11 "agreement": [
12 {
13 "href": "/services/data/v60.0/sobjects/contract/800xx000000bna5AAA",
14 "id": "800xx000000bna5AAA",
15 "name": "Contract Of Legal Issue"
16 }
17 ],
18 "engagedParty":
19 {
20 "href": "/services/data/v60.0/sobjects/contact/003xx000004WhECAA0",
21 "id": "003xx000004WhECAA0",
22 "name": "Rose Gonzalez",
23 "role": "Individual"
24 },
25 "href": "/connect/comms/openapi/customermanagement/customer/001xx000003GYdLAAW",
26 "id": "001xx000003GYdLAAW",
27 "name": "Edge Communications"
28}Consider you want to retrieve details of the customer account and get the following details in the output.
https://vlocity-1f5-dev-ed.develop.my.salesforce.com/services/data/v60.0/connect/comms/customermanagement/v4/customer?fields=name
1[
2 {
3 "href": "/connect/comms/openapi/customermanagement/customer/001xx000003GYdLAAX",
4 "id": "001xx000003GYdLAAX",
5 "name": "Pyramid Construction Inc."
6 }, {
7 "href": "/connect/comms/openapi/customermanagement/customer/001xx000003GYdLAAW",
8 "id": "001xx000003GYdLAAW",
9 "name": "Edge Communications"
10 }
11]Consider there are multiple customer accounts in the system and you want to list all of them.
https://vlocity-1f5-dev-ed.develop.my.salesforce.com/services/data/v60.0/connect/comms/customermanagement/v4/customer
1[
2 {
3 "account": [
4 {
5 "description": "US, UK, Eastern Europe, Japan, and SE Asia.",
6 "href": "/services/data/v60.0/sobjects/account/001xx000003GYdPAAE",
7 "id": "001xx000003GYdPAAE",
8 "name": "Grand Hotels",
9 "referredType": "Billing Account"
10 }
11 ],
12 "agreement": [
13 {
14 "href": "/services/data/v60.0/sobjects/contract/800xx000000bna5AAA",
15 "id": "800xx000000bna5AAA",
16 "name": "Contract Of Legal Issue"
17 }
18 ],
19 "engagedParty":
20 {
21 "href": "/services/data/v60.0/sobjects/contact/003xx000004WhECAA0",
22 "id": "003xx000004WhECAA0",
23 "name": "Rose Gonzalez",
24 "role": "Individual"
25 },
26 "href": "/connect/comms/openapi/customermanagement/customer/001xx000003GYdLAAX",
27 "id": "001xx000003GYdLAAX",
28 "name": "Pyramid Construction Inc."
29 },
30 {
31 "account": [
32 {
33 "description": "Chain of hotels and resorts across the US, UK, Eastern Europe, Japan, and SE Asia.",
34 "href": "/services/data/v60.0/sobjects/account/001xx000003GYdPAAW",
35 "id": "001xx000003GYdPAAW",
36 "name": "Grand Hotels & Resorts Ltd",
37 "referredType": "Billing Account"
38 }
39 ],
40 "agreement": [
41 {
42 "href": "/services/data/v60.0/sobjects/contract/800xx000000bna5AAA",
43 "id": "800xx000000bna5AAA",
44 "name": "Contract Of Legal Issue"
45 }
46 ],
47 "engagedParty":
48 {
49 "href": "/services/data/v60.0/sobjects/contact/003xx000004WhECAA0",
50 "id": "003xx000004WhECAA0",
51 "name": "Rose Gonzalez",
52 "role": "Individual"
53 },
54 "href": "/connect/comms/openapi/customermanagement/customer/001xx000003GYdLAAW",
55 "id": "001xx000003GYdLAAW",
56 "name": "Edge Communications"
57 }
58]Consider you want to retrieve all the customer accounts present in the system with applied filter values.
https://vlocity-1f5-dev-ed.develop.my.salesforce.com/services/data/v60.0/connect/comms/customermanagement/v4/customer?name=Edge Communications
1[
2
3 {
4 "account": [
5 {
6 "description": "Chain of hotels and resorts across the US, UK, Eastern Europe, Japan, and SE Asia.",
7 "href": "/services/data/v60.0/sobjects/account/001xx000003GYdPAAW",
8 "id": "001xx000003GYdPAAW",
9 "name": "Grand Hotels & Resorts Ltd",
10 "referredType": "Billing Account"
11 }
12 ],
13 "agreement": [
14 {
15 "href": "/services/data/v60.0/sobjects/contract/800xx000000bna5AAA",
16 "id": "800xx000000bna5AAA",
17 "name": "Contract Of Legal Issue"
18 }
19 ],
20 "engagedParty":
21 {
22 "href": "/services/data/v60.0/sobjects/contact/003xx000004WhECAA0",
23 "id": "003xx000004WhECAA0",
24 "name": "Rose Gonzalez",
25 "role": "Individual"
26 },
27 "href": "/connect/comms/openapi/customermanagement/customer/001xx000003GYdLAAW",
28 "id": "001xx000003GYdLAAW",
29 "name": "Edge Communications"
30 }
31]Consider you want to
https://vlocity-1f5-dev-ed.develop.my.salesforce.com/services/data/v60.0/connect/comms/customermanagement/v4/customer?fields=name&pageLimit=2&offset=70
NOTE: If there are multiple quotes, the above pagination query - limit=2&offset=70 will start display from page 70 and will have 2 records.
1[
2 {
3 "href": "/connect/comms/openapi/customermanagement/customer/001xx000003GYdLAAX",
4 "id": "001xx000003GYdLAAX",
5 "name": "Pyramid Construction Inc."
6 }, {
7 "href": "/connect/comms/openapi/customermanagement/customer/001xx000003GYdLAAW",
8 "id": "001xx000003GYdLAAW",
9 "name": "Edge Communications"
10 }
11]Consider you want to create a new customer account with full payload.
https://vlocity-1f5-dev-ed.develop.my.salesforce.com/services/data/v60.0/connect/comms/customermanagement/v4/customer
1{
2 "name": "Kevin Harper",
3 "engagedParty":
4 {
5 "name": "Sean Forbes"
6 }
7 ,
8 "account": [
9 {
10 "id": "001xx000003GaYhAAK",
11 "name": "Salesforce India"
12 }
13 ],
14 "contactMedium": [
15 {
16 "mediumType": "Phone",
17 "characteristic": {
18 "phoneNumber": "(555) 555-1234"
19 }
20 },
21 {
22 "mediumType": "Fax",
23 "characteristic": {
24 "faxNumber": "(555) 123-4567"
25 }
26 },
27 {
28 "mediumType": "Email",
29 "characteristic": {
30 "emailAddress": "kevin.harper@salesforce.com"
31 }
32 }
33 ]
34}1{
2 "id": "001xx000003GaYiAAK",
3 "href": "/connect/comms/customermanagement/v4/customer/001xx000003GaYiAAK",
4 "type": "Customer",
5 "name": "Kevin Harper",
6 "account": [
7 {
8 "id": "001xx000003GaX5AAK",
9 "href": "/services/data/v60.0/sobjects/account/001xx000003GaX5AAK",
10 "name": "Salesforce India",
11 "referredType": "Business Account"
12 }
13 ],
14 "engagedParty": {
15 "id": "003xx000004WhvlAAC",
16 "href": "/services/data/v60.0/sobjects/contact/003xx000004WhvlAAC",
17 "name": "Sean Forbes",
18 "role": "Individual"
19 },
20 "contactMedium": [
21 {
22 "mediumType": "Email",
23 "characteristic": {
24 "contactType": "Email",
25 "emailAddress": "kevin.jarper@salesforce.com"
26 }
27 },
28 {
29 "mediumType": "Fax",
30 "characteristic": {
31 "contactType": "Fax",
32 "faxNumber": "(555) 123-4567"
33 }
34 },
35 {
36 "mediumType": "Phone",
37 "characteristic": {
38 "contactType": "Phone",
39 "phoneNumber": "(555) 555-1234"
40 }
41 }
42 ]
43}Consider you want to update details of a particular customer account.
https://vlocity-1f5-dev-ed.develop.my.salesforce.com/services/data/v60.0/connect/comms/customermanagement/v4/customer/001xx000003GaX5AAK
Request body will have fields that need to be updated.
1{
2 "name" : "Edge Communications1 patch",
3 "engagedParty":
4 {
5 "name": "Sean Forbes",
6 "id": "001xx000003GaX5AAE"
7 }
8 ,
9 "account" : [
10 {
11 "id" : "001xx000003GaX5AAK",
12 "name" : "Salesforce India"
13 },
14 {
15 "id" : "001xx000003GaYhAAK",
16 "name" : "Salesforce USA"
17 }
18 ],
19 "contactMedium": [
20 {
21 "mediumType": "Phone",
22 "characteristic": {
23 "phoneNumber": "(555) 123-4560"
24 }
25 },
26 {
27 "mediumType": "Fax",
28 "characteristic": {
29 "faxNumber": "(555) 123-1236"
30 }
31 },
32 {
33 "mediumType": "Email",
34 "characteristic": {
35 "emailAddress": "nonexisting6@salesforce.com"
36 }
37 }
38 ]
39
40}1{
2 "id": "001xx000003GaYiAAK",
3 "href": "/connect/comms/customermanagement/v4/customer/001xx000003GaYiAAK",
4 "type": "Customer",
5 "name": "Edge Communications1 patch",
6 "account": [
7 {
8 "id": "001xx000003GaX5AAK",
9 "href": "/services/data/v60.0/sobjects/account/001xx000003GaX5AAK",
10 "name": "Salesforce India",
11 "referredType": "Business Account"
12 },
13 {
14 "id": "001xx000003GaYhAAK",
15 "href": "/services/data/v60.0/sobjects/account/001xx000003GaYhAAK",
16 "name": "Salesforce USA",
17 "referredType": "Business Account"
18 }
19 ],
20 "engagedParty": {
21 "id": "003xx000004WhvlAAC",
22 "href": "/services/data/v60.0/sobjects/contact/003xx000004WhvlAAC",
23 "name": "Sean Forbes",
24 "role": "Individual"
25 },
26 "contactMedium": [
27 {
28 "mediumType": "Email",
29 "characteristic": {
30 "contactType": "Email",
31 "emailAddress": "nonexisting6@salesforce.com"
32 }
33 },
34 {
35 "mediumType": "Fax",
36 "characteristic": {
37 "contactType": "Fax",
38 "faxNumber": "(555) 123-1236"
39 }
40 },
41 {
42 "mediumType": "Phone",
43 "characteristic": {
44 "contactType": "Phone",
45 "phoneNumber": "(555) 123-4560"
46 }
47 }
48 ]
49}Consider you want to delete details of a particular customer account.
https://vlocity-1f5-dev-ed.develop.my.salesforce.com/services/data/v60.0/connect/comms/customermanagement/v4/customer/001xx000003GabvAAC
No request body.
Status code 204 with no response body