---
schema_version: "1"
id: 0c7ea15427e014e8bae591dbe14661e6720088bdcee075b2995846317f30ba8d
title: WebCartAdjustmentBasis
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_webcartadjustmentbasis.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_webcartadjustmentbasis.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 697f6038119f92868d59ab8b1e35a0c1095478fad9fb0b38c1a42047b154273e
description: Coupons that trigger promotions for the cart. When a customer tries to add a coupon to the cart, the store looks for promotions associated with the coupon. If a promotion results in a price adjustment, a WebCartAdjusmentBasis record is created. This object is available in API version 54.0 and later.
---
# WebCartAdjustmentBasis

Coupons that trigger promotions for the cart. When a customer tries to add a coupon to the cart, the store looks for promotions associated with the coupon. If a promotion results in a price adjustment, a WebCartAdjusmentBasis record is created. This object is available in API version 54.0 and later.

## Supported Calls

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

## Special Access Rules

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

## Fields

| Field | Details |
| --- | --- |
| AdjustmentBasisDetail | 
Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

Coupon code for the coupon associated with the promotion.



 |
| AdjustmentBasisReferenceId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

Foreign key reference to the coupon.

This field is a relationship field.

Relationship Name

AdjustmentBasisReference

Relationship Type

Lookup

Refers To

Coupon



 |
| CurrencyIsoCode | 

Type

picklist

Properties

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

Description

The currency ISO code of the cart.

Possible values are:

- EUR
- USD

The default value is USD.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

Name of the WebCartAdjustmentBasis record.



 |
| WebCartId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

ID of the cart.

This field is a relationship field.

Relationship Name

WebCart

Relationship Type

Lookup

Refers To

WebCart



 |

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[WebCartAdjustmentBasisChangeEvent](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.")

Change events are available for the object.