CartTax
Represents taxes for a line item in a WebCart that’s active in a store built with B2B Commerce or D2C Commerce.
Introduced in API version 48.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()
- The CartTax object is available only if the B2B Commerce or D2C Commerce license is enabled.
- Type: picklist
- Properties: Filter, Group, Nillable, Restricted picklist, Sort
- Introduced: API version 52.0
- Description: Target for the price adjustment (the cart itself or individual items).
- Possible values:
- Cart — Cart
- Item — Item
- Type: currency
- Properties: Create, Filter, Sort, Update
- Description: Calculated tax amount.
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The ID of the
WebCartbeing taxed. - Relationship name: Cart
- Relationship type: relationship
- Refers to: WebCart
- Type: reference
- Properties: Create, Filter, Group, Sort
- Description: The ID of a cart item being taxed.
- Relationship name: CartItem
- Relationship type: masterdetail
- Refers to: CartItem
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 52.0
- Description: The ID of a price adjustment for a cart item being taxed. (This field is available in API version 52.0 and later.)
- Relationship name: CartItemPriceAdjustment
- Relationship type: relationship
- Refers to: CartItemPriceAdjustment
- Type: textarea
- Properties: Create, Nillable, Update
- Description: A description of the tax. Enter up to 2000 characters.
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: The name of this
CartTaxrecord.Namecan be up to 255 characters.
- Type: date
- Properties: Create, Filter, Group, Sort, Update
- Description: The date this tax was calculated.
- Type: percent
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The applied tax rate for this line of tax.
- Type: picklist
- Properties: Create, Filter, Group, Restricted picklist, Sort, Update
- Description: The type of tax for this line of tax.
- Possible values:
- Actual — Actual
- Estimated — Estimated
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.
- CartTaxChangeEvent: Introduced in API version 58.0.