---
schema_version: "1"
id: 32594593decc5512b4371e688b8425d150eca8c58df3e82a52101adc0852385c
title: Create Product Child Items
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/cme/guides/comms-t-create-product-child-items.md
canonical_url: https://developer.salesforce.com/docs/industries/cme/guide/comms-t-create-product-child-items.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f976f02aaa656bc1973ab43379b667bb61f9075e5a4a576b42d8b8df0af3fef5
products:
  - Communications, Media, Energy and Utilities APIs (Managed Package)
  - Industries Developer Documentation
---
# Create Product Child Items

Product child items (PCIs) are products associated with a bundle of products or services. A product can have one or more PCIs. Add PCIs using the `productchilditems` API call. Ensure that product and their child products are in the same price list.

```nolang
POST /v2/epc/productchilditems
```

## Remote Method

```nolang
createPCI
```

## REST Handler

```nolang
APIProductChildItemRestHandler
```

## Apex Remote Service

```nolang
PCAppHandler
```

## Package

Communication (vlocity_cmt)

## API Parameters and Response Format

For API parameter names and descriptions, see the [Swagger (OpenAPI) reference documentation for Industries EPC REST APIs](https://developer.salesforce.com/docs/industries/cme/references/epc?meta=Summary).


## Resource Information

| Response Format | JSON                                                      |
| --------------- | --------------------------------------------------------- |
| Resource URL    | `/services/apexrest/{namespace}/v2/epc/productchilditems` |

## Example Request

```nolang
POST /v2/epc/productchilditems
{
  "epcRequest": {
   "entity": {
      "vlocity_cmt__ParentProductId__c": "01t3h000002TDJQAA4",
      "vlocity_cmt__ChildProductId__c": "01t3h000002Stj3AAC",
      "vlocity_cmt__RelationshipType__c": "Child",
      "vlocity_cmt__ChildLineNumber__c": "1"
    }
  }
}
```

## Example Result

```
{
    "epcResponse": {
        "entities": [
            {
                "entity": {
                    "attributes": {
                        "type": "vlocity_cmt__ProductChildItem__c",
                        "url": "/services/data/v53.0/sobjects/vlocity_cmt__ProductChildItem__c/a3C3h000000Je8oEAC"
                    },
                    "Id": "a3C3h000000Je8oEAC"
                }
            }
        ],
        "overallResult": "success"
    }
}
```

