---
schema_version: "1"
id: 96cbe23c05241d87a36ab7bd0fcb02a34724faff9e79f914b9a64e08e17c12ca
title: CartItemPriceAdjustment
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_cartitempriceadjustment.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_cartitempriceadjustment.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9a429ce7c8ea6b6159113cf4afe98fa1ba25038d18efdef57d5340f897549ef9
description: Price adjustment for a cart item. This object is available in API version 52.0 and later.
---
# CartItemPriceAdjustment

Price adjustment for a cart item. This object is available in API version 52.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Special Access Rules

The CartItemPriceAdjustment object is available only if the B2B Commerce or D2C Commerce license is enabled.

## Fields

| Field | Details |
| --- | --- |
| AdjustmentAmountScope | 
Type

picklist

Properties

Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

Scope of the adjustment amount for a promotion.

Possible values are:

- Total—The amount off the total price.

This field is available in API version 54.0 and later.



 |
| AdjustmentBasisReferenceId | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

Coupon code of the coupon associated with a promotion. This field is available in API version 54.0 and later.

This is a relationship field.

Relationship Name

AdjustmentBasisReference

Relationship Type

Lookup

Refers To

Coupon



 |
| AdjustmentSource | 

Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

Price adjustment type.

Possible values are:

- Discretionary
- Promotion
- System





 |
| AdjustmentTargetType | 

Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

Target for the price adjustment (the cart itself or individual items).

Possible values are:

- Cart
- Item





 |
| AdjustmentType | 

Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

Indicates if the price adjustment is applied as percentage or an absolute amount.

Possible values are:

- AdjustmentAmount
- AdjustmentPercentage





 |
| AdjustmentValue | 

Type

double

Properties

Create, Filter, Sort, Update

Description

Numeric value of the adjustment (for example, 10 if the price adjustment is either 10% off or $10 off).



 |
| CartId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ID of the WebCart that’s associated with a cart item. This field is available in API version 55.0 and later.

This is a relationship field.

Relationship Name

Cart

Relationship Type

Lookup

Refers To

WebCart



 |
| CartItemId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

ID of the parent cart item to which this adjustment belongs.

This is a relationship field.

Relationship Name

CartItem

Relationship Type

Lookup

Refers To

CartItem



 |
| CurrencyIsoCode | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The ISO code for the currency that’s specified on the buyer’s account. Default value is USD.

Possible values are:

- EUR—Euro
- USD—U.S. Dollar





 |
| Description | 

Type

textarea

Properties

Create, Nillable, Update

Description

Description of the price adjustment.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

Name of the price adjustment.



 |
| PriceAdjustmentCauseId | 

Type

reference

Properties

Create, Filter, Group, Sort, Nillable, Update

Description

ID of entity that caused this adjustment (for example, a promotion ID). If unspecified, then Description populates the display name.

This is a relationship field.

Relationship Name

PriceAdjustmentCause

Relationship Type

Lookup

Refers To

Promotion



 |
| Priority | 

Type

int

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

If there are multiple price adjustments, sequence in which the price adjustments are applied.



 |
| TotalAmount | 

Type

currency

Properties

Create, Filter, Nillable, Sort, Update

Description

Total price after applying price adjustments.



 |
| TotalGrossAmount | 

Type

currency

Properties

Filter, Nillable, Sort

Description

The total gross amount (tax inclusive) after applying price adjustments. This field is available in API version 55.0 and later.



 |
| TotalNetAmount | 

Type

currency

Properties

Filter, Nillable, Sort

Description

The total net amount (tax exclusive) after applying price adjustments. This field is available in API version 55.0 and later.



 |
| TotalTax | 

Type

currency

Properties

Filter, Nillable, Sort

Description

Tax on the total adjusted price.



 |
| WebCartAdjustmentGroupId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

ID of the cart’s adjustment group.

This is a relationship field.

Relationship Name

WebCartAdjustmentGroup

Relationship Type

Lookup

Refers To

WebCartAdjustmentGroup



 |

## Associated Objects

This object has the following associated objects. Unless it’s noted, associated objects are available in the same API version as this object.

[CartItemPriceAdjustmentChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.") (API version 58.0)

Change events are available for the object.