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 is used to represent tax calculations within cart operations. It provides detailed tax information including the absolute price amount, the decimal tax rate, and the percentage representation of the tax rate. This type is typically nested within cart-related queries to display complete tax breakdowns for order totals.

Example

{ cartTaxLine { price rate ratePercentage } }

Implements

This type does not implement any interfaces.

  • Cart
  • CartLine