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
Body ()
Root Schema : favorites-shoppingCartCollectionRequest
Type: object
Show Source
Nested Schema : Selected Favorite Ids
Type: array
Title: Selected Favorite Ids
List of selected favorite ids
Show Source
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : favorites-shoppingCartCollectionResponse
Type: object
Show Source
Back to Top

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"
}
Back to Top