Update Commerce Process Document Modify Options
patch
/rest/v19/commerceProcessSetups/{processVarName}/documents/{docVarName}/modifyTab
Use this endpoint to update modify options for the specified Commerce Process document.
Request
Supported Media Types
- application/json
Path Parameters
Nested Schema : DocModifyItemModel
Type:
Show Source
object-
attributeId:
integer()
Title:
Attribute IdId of the attribute -
attributeLabel:
string()
Title:
Attribute LabelDisplay Label of the attribute -
attributeVarName:
string()
Title:
Attribute Variable NameVariable Name of the attribute -
customAttribute:
boolean()
Title:
Is Custom AttributeSpecifies whether the attribute is custom or not -
formulaPresent:
boolean()
Title:
Has FormulaSpecifies whether the attribute has formula defined -
overrideModify:
boolean()
Title:
Override ModifySpecifies whether the standard option should be overridden -
useFormula:
boolean()
Title:
Use FormulaSpecifies whether formula should be used or not
Response
Supported Media Types
- application/json
200 Response
Success
Nested Schema : DocModifyItemModel
Type:
Show Source
object-
attributeId:
integer()
Title:
Attribute IdId of the attribute -
attributeLabel:
string()
Title:
Attribute LabelDisplay Label of the attribute -
attributeVarName:
string()
Title:
Attribute Variable NameVariable Name of the attribute -
customAttribute:
boolean()
Title:
Is Custom AttributeSpecifies whether the attribute is custom or not -
formulaPresent:
boolean()
Title:
Has FormulaSpecifies whether the attribute has formula defined -
overrideModify:
boolean()
Title:
Override ModifySpecifies whether the standard option should be overridden -
useFormula:
boolean()
Title:
Use FormulaSpecifies whether formula should be used or not
Examples
The following example shows how to update modify options for the specified Commerce Process document 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/automationStd/documents/transactionLine/modifyTab
Request Body Sample
{
"items": [
{
"attributeId": 3022948910,
"useFormula": true,
"overrideModify": false,
"customAttribute": false,
"attributeVarName": "_customer_t_city"
}
]
}