commerce/settings/cart

Use the cart subresource to manage settings for the cart, such as whether to include handling fees in the cost calculations.

JSON Example

CartSettings Properties

Property Description
auditInfo

type: auditInfo

Basic audit info about the object, including date, time, and user account. This data may be captured when creating, updating, and removing data.

auditInfo.createBy

type: string

Identifier of the user that created the object. System created and read only.

auditInfo.createDate

type: DateTime

The date and time in UTC format set when the object was created.

auditInfo.updateBy

type: string

Identifier of the user that updated the entity most recently.

auditInfo.updateDate

type: DateTime

The date and time in UTC format the object was updated most recently.

enableHandlingFee

type: bool

Set this property to true if you want to include handling fees in the calculation of the cart cost.

Note:  Enabling this property does not display handling fees as line items in your storefront's checkout page. Rather, it simply includes the cost of the handling fees in the total. To display handling fees as line items in the checkout page, ask your theme developer to make the necessary changes.

Operations

Operation Name Request URI Description
CreateCartSettings POST cartsettings%3fresponseFields%3d%7bresponseFields%7d

Creates cart settings.

GetCartSettings GET cartsettings%3fresponseFields%3d%7bresponseFields%7d

Retrieves cart settings.

UpdateCartSettings PUT cartsettings%3fresponseFields%3d%7bresponseFields%7d

Updates cart settings.