Get Account Details

Retrieve the details for a specified account ID.

GET /v2/accounts/{account_ID}

Remote Method

getAccounts

Handlers

REST Endpoint: APIAccountsV2.cls
Implementation: CpqGetAccountsActionV2.cls

Apex Remote Service

CpqAppHandler

Apex Remote Input Map

{
  methodName: getAccounts
  id: 0011I000007lzDO
}

Package

Communication (vlocity_cmt)

API Parameters and Response Format

For API parameter names and descriptions, see Cart-Based API Swagger Reference.

Resource Information

Response Format JSON
Resource URL /services/apexrest/{namespace}/v2/accounts/{account_ID}

Example Request

GET
/services/apexrest/vlocity_cmt/v2/accounts/0011I000007lzDO?fields=OwnerId,Name

Example Response

{
  "totalSize": 1,
  "messages": [],
  "records": [
    {
      "messages": [],
      "displaySequence": -1,
      "OwnerId": "0051I000000Qvb4QAC",
      "Name": "AR3"
    }
  ]
}