Get Shopping Cart

get

/rest/v16/shoppingCarts/{processVarName}

This endpoint returns a shopping cart for a process.

Request

Path Parameters
Back to Top

Response

Default Response

The response for getting the shopping cart.
Body ()
Root Schema : shopping-cart-response
Type: object
Show Source
Nested Schema : shoppingCartItems
Type: object
Show Source
Back to Top

Examples

The following example shows how to retrieve a shopping cart for a process by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X GET - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v16/shoppingCarts/transaction

Response Body Sample

{
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/shoppingCarts/transaction"
    }, {
      "rel": "parent",
      "href": "https://sitename.oracle.com/rest/v16/shoppingCarts"
    }
  ],
  "priceBookApplicable": true,
  "showAddToQuoteButton": false,
  "showCheckoutButton": true,
  "processVarName": "transaction",
  "processName": "Quotes",
  "shoppingCartItems": {
    "links": [{
        "rel": "self",
        "href": "https://sitename.oracle.com/rest/v16/shoppingCarts/transaction/shoppingCartItems"
      }, {
        "rel": "parent",
        "href": "https://sitename.oracle.com/rest/v16/shoppingCarts/transaction"
      }
    ]
  }
}
Back to Top