Update a Commerce Process
patch
/rest/v19/commerceProcessSetups/{processVarName}
Use this endpoint to update the specified Commerce process.
Request
Supported Media Types
- multipart/form-data
Path Parameters
Back to Top
Response
Supported Media Types
- application/json
200 Response
Success
Examples
The following example shows how to update the specified Commerce Process 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
Request Body Sample
payload: // JSON as text { "transactionEditingMode": 1, "stage": 3, "deleteSecureAttributeEncryptionKey": false, "blockAutofill": 2, "continueOnTimeout": 1, "nonOwnerUnlock": true, "fiscalYearStartDate": "02/29", "initialImports": [ 12321 ], "autoUnlockActionIds": [ 1234, 2345 ], "description": "Description is changed", "layoutOptions": { "generationRequested": 1, "layoutAccess": [{ "layoutType": 0, "priority": 3, "enabled": true }, { "layoutType": 1, "priority": 2, "enabled": true }, { "layoutType": 2, "priority": 1, "enabled": true } ] } }, resultFile: "test.cer", // File expected
Response Body Sample
{ "processId": 12312 }