Check Out the Selected Items
post
                    /rest/v19/shoppingCarts/{processVarName}/actions/_checkout
This endpoint adds the selected items from the shopping cart to a new quote.
                
                Request
Path Parameters
                - 
                    processVarName(required): string
                    
                    The unique variable name to identify the process.
The selected items to be checked out.
                
                
                
                Root Schema : shopping-cart-selected-items-request
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            selectionMode: 
            string
            Title:Selection ModeIndicating how selections content should be interpreted, supported values are: 1) '' - content of 'selections' param OR 2) 'ResultSetExceptSelected' - all entries in result set except those listed in 'selections' param
- 
            selections: 
            array  selections
            
            
Response
Default Response
The response for checking out selected items.
                
                
                    Root Schema : shopping-cart-destination-response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            destinationUrl: 
            string
            Title:Destination URLDestination URL.
Examples
The following example shows how to add the selected items from the shopping cart to a new quote by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X GET -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/shoppingCarts/transaction/actions/_checkout
Request Body Sample
Example 1: All items are selected in the shopping cart
{
  "selections": [],
  "selectionMode": "ResultSetExceptSelected"
}Example 2: Specific items are selected in the shopping cart
{
  "selections": [3022564637, 3022564638],
  "selectionMode": ""
}Response Body Sample
{
  "destinationUrl": "https://sitename.oracle.com/commerce/buyside/document.jsp?id=3022564562&document_id=4356178&bm_cm_process_id=4356122&formaction=openTransaction"
}