Shopping Cart Action Invocation for Favorites
post
/rest/v16/favorites/actions/shoppingCart
Shopping Cart action of process invocations for a given request.
Request
Supported Media Types
- application/json
Root Schema : favorites-shoppingCartCollectionRequest
Type:
Show Source
object
-
selections:
array Selected Favorite Ids
Title:
Selected Favorite Ids
List of selected favorite ids -
variableName:
string
Title:
Variable Name
Variable name used to of action.
Nested Schema : Selected Favorite Ids
Type:
array
Title:
Selected Favorite Ids
List of selected favorite ids
Show Source
Response
Supported Media Types
- application/json
Default Response
Root Schema : favorites-shoppingCartCollectionResponse
Type:
Show Source
object
-
processId:
integer
Title:
Process identifier
Process identifier. -
processName:
string
Title:
Process identifier name
Process identifier name.
Examples
The following example shows how to invoke the Shopping Cart process action to add selected items to the specified process shopping cart by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X POST - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json" https://sitename.oracle.com/rest/v16/favorites/actions/shoppingCart
Request Body Sample
{ "selection"”: [3022726820], "variableName": "CM_7065206" }
Response Body Sample
{ "processVarName": "oraclecpqo" }