Get List of All Shopping Carts
get
/rest/v19/shoppingCarts
This endpoint returns a list of all shopping carts visible to the user.
Request
There are no request parameters for this operation.
Back to TopResponse
Default Response
The response for getting the shopping carts.
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-response
Type:
Show Source
object-
links:
array links
-
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. -
shoppingCartItems:
object shoppingCartItems
-
showAddToQuoteButton:
boolean
Title:
Show Add To Quote ButtonShow add to quote button indicator. -
showCheckoutButton:
boolean
Title:
Show Check Out ButtonShow check out button indicator.
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 : 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
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
Examples
The following example shows how to retrieve a list of shopping carts by submitting a GET 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
Response Body Sample
{
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/shoppingCarts"
}
],
"items": [{
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/shoppingCarts/transaction"
}
],
"priceBookApplicable": true,
"showAddToQuoteButton": false,
"showCheckoutButton": true,
"processVarName": "transaction",
"processName": "Quotes"
}, {
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/shoppingCarts/oraclecpqo"
}
],
"priceBookApplicable": true,
"showAddToQuoteButton": false,
"showCheckoutButton": true,
"processVarName": "oraclecpqo",
"processName": "Oracle Quote to Order",
}
]