Get Shopping Cart Layout
get
/rest/v19/shoppingCarts/{processVarName}/layouts/{layoutVarName}
This endpoint returns the layout definition for a specific shopping cart.
Request
Path Parameters
-
layoutVarName(required): string
The unique variable name to identify the layout.
-
processVarName(required): string
The unique variable name to identify the process.
Response
Default Response
The response for getting the shopping cart layout
Root Schema : shopping-cart-layout-response
Type:
Show Source
object-
checkoutButtonLabel:
string
Title:
Checkout Button LabelCheckout button label. -
clearButtonLabel:
string
Title:
Clear Button LabelClear button label. -
columns:
object shopping-cart-layout-columns
-
displayTotalType:
string
Title:
Display Total TypeAllowed Values:[ "TOP", "BOTTOM", "NONE" ]Display total type. -
enabled:
boolean
Title:
EnabledEnabled indicator. -
hideButtonLabel:
string
Title:
Hide Button LabelHide button label. -
id:
integer
Title:
Layout IDLayout identifier. -
itemsSelectedByDefault:
boolean
Title:
Item Selected By DefaultItem selected by default indicator. -
links:
array links
-
processName:
string
Title:
Process NameProcess name. -
removeItemsOnCheckout:
boolean
Title:
Remove Items On CheckoutRemove items on checkout indicator. -
showClearButton:
boolean
Title:
Show Clear ButtonShow clear button indicator. -
showTranslationsButton:
boolean
Title:
Show Translations ButtonShow translations button indicator. -
VarName:
string
Title:
Layout Variable NameLayout variable name.
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-layout-column
Type:
Show Source
object-
columnDesc:
string
Title:
Column DescriptionColumn description. -
columnLabel:
string
Title:
Column LabelColulmn label. -
columnType:
string
Title:
Column TypeAllowed Values:[ "ITEM", "PRICE", "QUANTITY", "SUBTOTAL", "PRICEBOOK", "DESCRIPTION" ]Column type. -
editable:
boolean
Title:
EditableEditable indicator. -
editableApplicable:
boolean
Title:
Editable ApplicableEditable applicable indicator. -
id:
integer
Title:
IDUnique identifier for a layout column. -
orderNumber:
integer
Title:
Order NumberOrder number. -
valueAlignment:
string
Title:
Value AlignmentValue alignment. -
visible:
boolean
Title:
VisibleVisible indicator.
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