Skip to Content

CartTaxLine

Describes a cart tax line, including tax rate and amount for GraphQL queries.

Type Definition

type CartTaxLine { price: Float rate: Float ratePercentage: Float }

Fields

FieldTypeDescription
priceFloatReturns the price in customer’s currency. Requires order context.
rateFloatReturns the tax rate in decimals.
ratePercentageFloatReturns the tax rate.

Relationships

CartTaxLine represents tax information associated with a cart. It provides calculated tax details including the monetary amount and applicable tax rates for display and calculation purposes within cart operations.

Example

{ price rate ratePercentage }

Implements

No interfaces implemented.

  • Cart
  • Order