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 Type
Type of Attribute -
catAttrId:
integer()
Title:
Catalog Attribute Id
ID of Catalog Attribute -
catModelId:
integer()
Title:
Model Id
Id of Catalog Model Id -
catPlineId:
integer()
Title:
Product Line Id
Id of Catalog Product Line -
catSegmentId:
integer()
Title:
Segment Id
Id of Segment -
cmAttrId:
integer()
Title:
Commerce Attribute Id
ID of Commerce Attribute -
documentId:
integer()
Title:
documentId
ID of document -
isIndexed:
boolean()
Title:
Is Indexed
Is Indexing enabled for the data column -
isKeywordSearch:
boolean()
Title:
Is KeywordSearch
Is keyword search enabled -
reportLabel:
string()
Title:
Report Label
Report Label -
searchLabel:
string()
Title:
Search Label
Search Label -
variableName:
string()
Title:
Variable Name
Variable 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 }