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 Label
Checkout button label. -
clearButtonLabel:
string
Title:
Clear Button Label
Clear button label. -
columns:
object shopping-cart-layout-columns
-
displayTotalType:
string
Title:
Display Total Type
Allowed Values:[ "TOP", "BOTTOM", "NONE" ]
Display total type. -
enabled:
boolean
Title:
Enabled
Enabled indicator. -
hideButtonLabel:
string
Title:
Hide Button Label
Hide button label. -
id:
integer
Title:
Layout ID
Layout identifier. -
itemsSelectedByDefault:
boolean
Title:
Item Selected By Default
Item selected by default indicator. -
links:
array links
-
processName:
string
Title:
Process Name
Process name. -
removeItemsOnCheckout:
boolean
Title:
Remove Items On Checkout
Remove items on checkout indicator. -
showClearButton:
boolean
Title:
Show Clear Button
Show clear button indicator. -
showTranslationsButton:
boolean
Title:
Show Translations Button
Show translations button indicator. -
VarName:
string
Title:
Layout Variable Name
Layout variable name.
Nested Schema : links
Type:
Show Source
array
-
Array of:
object reference links
Title:
reference links
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : shopping-cart-layout-column
Type:
Show Source
object
-
columnDesc:
string
Title:
Column Description
Column description. -
columnLabel:
string
Title:
Column Label
Colulmn label. -
columnType:
string
Title:
Column Type
Allowed Values:[ "ITEM", "PRICE", "QUANTITY", "SUBTOTAL", "PRICEBOOK", "DESCRIPTION" ]
Column type. -
editable:
boolean
Title:
Editable
Editable indicator. -
editableApplicable:
boolean
Title:
Editable Applicable
Editable applicable indicator. -
id:
integer
Title:
ID
Unique identifier for a layout column. -
orderNumber:
integer
Title:
Order Number
Order number. -
valueAlignment:
string
Title:
Value Alignment
Value alignment. -
visible:
boolean
Title:
Visible
Visible indicator.
Nested Schema : reference links
Type:
object
Title:
reference links
Reference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related object
URL to the related object -
rel:
string
Title:
Link Relationship to the current object
Link Relationship to the current object