Shopping Cart Action Invocation for Favorites
post
/rest/v19/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 IdsList of selected favorite ids -
variableName:
string
Title:
Variable NameVariable name used to of action.
Nested Schema : Selected Favorite Ids
Type:
arrayTitle:
Selected Favorite IdsList 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 identifierProcess identifier. -
processName:
string
Title:
Process identifier nameProcess 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 -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/favorites/actions/shoppingCart
Request Body Sample
{
"selection"”: [3022726820],
"variableName": "CM_7065206"
}Response Body Sample
{
"processVarName": "oraclecpqo"
}