Update Product Child Items

Update the fields of a product child items (PCI) by specifying its ID and the fields to update in the request body.

1PUT /v2/epc/productchilditems/

Remote Method 

1updatePCI

REST Handler 

1APIProductChildItemRestHandler

Apex Remote Service 

1PCAppHandler

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.

Resource Information 

Response FormatJSON
Resource URL/services/apexrest/{namespace}/v2/epc/productchilditems/

Example Request 

1PUT /v2/epc/productchilditems/
2
3
4{
5    "epcRequest": {
6        "entity": {
7            "Id": "a3C3h000000Je8oEAC",
8            "vlocity_cmt__ChildLineNumber__c": "2"
9        }
10    }
11}

Example Result 

1{
2    "epcResponse": {
3        "entities": [
4            {
5                "entity": {
6                    "attributes": {
7                        "type": "vlocity_cmt__ProductChildItem__c",
8                        "url": "/services/data/v53.0/sobjects/vlocity_cmt__ProductChildItem__c/a3C3h000000Je8oEAC"
9                    },
10                    "Id": "a3C3h000000Je8oEAC"
11                }
12            }
13        ],
14        "overallResult": "success"
15    }