Get Shopping Cart (POST)
post
                    /rest/v19/shoppingCarts/{processVarName}/actions/_getShoppingCart
This endpoint returns the shopping cart associated with the specified process.
                
                Request
Path Parameters
                - 
                    processVarName(required): string
                    
                    The unique variable name to identify the process.
Root Schema : shopping-cart-pagination-request
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            expandNodes: 
            boolean
            If true, the children rows of nodesExceptionList will be excluded from the response.
- 
            limit: 
            integer
            The maximum number of items in the response.
- 
            nodesExceptionList: 
            array  nodesExceptionList
            
            List of ids.
- 
            offset: 
            integer
            The starting position of the response rows.
- 
            totalPrice: 
            boolean
            If true, totalPrice will be included in the response.
- 
            totalResults: 
            boolean
            If true, totalResults and hasMore properties will be included in the response.
Response
Default Response
The response for getting the shopping cart
                
                
                    Root Schema : shopping-cart-pagination-response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            count: 
            integer
            The number of resource instances returned in the current range.
- 
            hasMore: 
            boolean
            Returns true if more resources are available on the server than the subset returned in current page.
- 
            items: 
            array  items
            
            
- 
            limit: 
            integer
            The actual paging size used by the server.
- 
            links: 
            array  links
            
            
- 
            offset: 
            integer
            The offset used in the current page.
- 
            priceBookApplicable: 
            boolean
            Title:Price Book ApplicablePrice book applicable indicator.
- 
            processName: 
            string
            Title:Process NameName for the process.
- 
            processVarName: 
            string
            Title:Process Variable NameUnique variable name to identify the process.
- 
            showAddToQuoteButton: 
            boolean
            Title:Show Add To Quote ButtonShow add to quote button indicator.
- 
            showCheckoutButton: 
            boolean
            Title:Show Check Out ButtonShow check out button indicator.
- 
            totalResults: 
            integer
            Capture the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
Nested Schema : links
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        array- 
            Array of: 
                object  reference links
            
            Title:reference linksReference links for the Parent, Self, Children and Related as applicable
Nested Schema : shopping-cart-item
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            description: 
            string
            Title:DescriptionDescription of the shopping cart item.
- 
            enabled: 
            boolean
            Title:EnabledEnabled indicator.
- 
            id: 
            integer
            Title:IDUnique identifier for a shopping cart item.
- 
            links: 
            array  links
            
            
- 
            mandatory: 
            boolean
            Title:MandatoryMandatory indicator.
- 
            name: 
            string
            Title:NameName of the shopping cart item.
- 
            parentId: 
            integer
            Title:Parent IDUnique identifier for a shopping cart item parent.
- 
            price: 
            object  price
            
            Price of the shopping cart item.
- 
            priceBookName: 
            string
            Title:Price Book NamePrice book name.
- 
            quantity: 
            integer
            Title:QuantityQuantity of the shopping cart item.
- 
            subTotal: 
            object  subTotal
            
            Sub total of the shopping cart item.
Nested Schema : links
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        array- 
            Array of: 
                object  reference links
            
            Title:reference linksReference links for the Parent, Self, Children and Related as applicable
Nested Schema : price
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectPrice of the shopping cart item.
    
    
    
    
    Show Source
        - 
            currency: 
            string
            Title:CurrencyCurrency of the shopping cart item.
- 
            priceComment: 
            string
            Title:Price CommentComment of the shopping cart item price.
- 
            value: 
            number
            Title:PricePrice of the shopping cart item.
Nested Schema : subTotal
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectSub total of the shopping cart item.
    
    
    
    
    Show Source
        - 
            currency: 
            string
            Title:Sub total currencySub total currency of the shopping cart item.
- 
            priceComment: 
            string
            Title:Sub total CommentComment of the shopping cart item sub total.
- 
            value: 
            number
            Title:Sub totalSub total of the shopping cart item.
Nested Schema : reference links
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    reference linksReference links for the Parent, Self, Children and Related as applicable
    
    
    
    
    Show Source
        - 
            href: 
            string
            Title:URL to the related objectURL to the related object
- 
            name: 
            string
            
- 
            rel: 
            string
            Title:Link Relationship to the current objectDefault Value:selfLink Relationship to the current object
Examples
The following example shows how to retrieve the shopping cart associated with the specified process 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/_getShoppingCart
Request Body Sample
This sample includes optional pagination parameters.
{
  "offset": 0,
  "limit": 2,
  "expandNodes": true,
  "totalResults": true
}Response Body Sample
This sample includes optional pagination parameters.
{
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v19/shoppingCarts/transaction"
    }, {
      "rel": "parent",
      "href": "https://sitename.oracle.com/rest/v19/shoppingCarts"
    }
  ],
  "priceBookApplicable": true,
  "showAddToQuoteButton": false,
  "showCheckoutButton": true,
  "processVarName": "transaction",
  "processName": "Quotes",
  "limit": 2,
  "offset": 0,
  "count": 2,
  "totalResults": 4,
  "hasMore": true,
  "items": [{
      "id": 3022707088,
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v19/shoppingCarts/transaction/shoppingCartItems/3022707088"
        }, {
          "rel": "parent",
          "href": "https://sitename.oracle.com/rest/v19/shoppingCarts/transaction/shoppingCartItems"
        }
      ],
      "parentId": -1,
      "name": "part100",
      "quantity": 1,
      "price": {
        "value": -1.0,
        "currency": "USD",
        "priceComment": "US Dollar price not defined."
      },
      "mandatory": false,
      "enabled": true,
      "priceBookName": "",
      "description": "",
      "hasChildren": true
    }, {
      "id": 3022707090,
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v19/shoppingCarts/transaction/shoppingCartItems/3022707090"
        }, {
          "rel": "parent",
          "href": "https://sitename.oracle.com/rest/v19/shoppingCarts/transaction/shoppingCartItems"
        }
      ],
      "parentId": 3022707088,
      "name": "part1",
      "quantity": 1,
      "price": {
        "value": 1.33,
        "currency": "USD"
      },
      "mandatory": false,
      "enabled": true,
      "priceBookName": "Base Price",
      "description": "",
      "hasChildren": false
    }
  ]
}