Update a Commerce Process Data Column
patch
/rest/v19/commerceProcessSetups/{processVarName}/dataColumns/{id}
Use this endpoint to update the specified Commerce Process Data Column.
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : CmAdminDataColumnRequestModel
Type:
Show Source
object-
attributeType:
string()
Title:
Attribute TypeType of Attribute -
catAttrId:
integer()
Title:
Catalog Attribute IdID of Catalog Attribute -
catModelId:
integer()
Title:
Model IdId of Catalog Model Id -
catPlineId:
integer()
Title:
Product Line IdId of Catalog Product Line -
catSegmentId:
integer()
Title:
Segment IdId of Segment -
cmAttrId:
integer()
Title:
Commerce Attribute IdID of Commerce Attribute -
documentId:
integer()
Title:
documentIdID of document -
isIndexed:
boolean()
Title:
Is IndexedIs Indexing enabled for the data column -
isKeywordSearch:
boolean()
Title:
Is KeywordSearchIs keyword search enabled -
reportLabel:
string()
Title:
Report LabelReport Label -
searchLabel:
string()
Title:
Search LabelSearch Label -
variableName:
string()
Title:
Variable NameVariable Name of Data Column
Response
204 Response
Success
Examples
The following example shows how to update the specified Commerce Process Data Column by submitting a PATCH request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X PATCH -H "Authorization: Bearer <token>" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/commerceProcessSetups/oraclecpqo/dataColumns/18356111
Request Body Sample
{
"attributeType": "COMMERCE",
"documentId": 3023304905,
"isIndexed": false,
"isKeywordSearch": false,
"cmAttrId": 3023312918,
"catAttrId": -1,
"searchLabel": "abc",
"reportLabel": "abc",
"variableName": "abcdhjiIIii_c",
"catSegmentId": 50,
"catPlineId": 3023271275,
"catModelId": 3023271276
}