← API reference
CANONICAL TYPE REFERENCE

PriceBracketState

A quantity-band pricing rule for a specific scope

Unique identifier

nameString

Optional label

What the bracket is scoped to

ID or kind code of the scoped entity

Customer-specific bracket (nil = all customers)

Inclusive lower quantity bound

Inclusive upper quantity bound (nil = unlimited)

rateFloat!

Rate value

How the rate is applied

ISO 4217 currency code

isActiveBoolean!

Whether this bracket is active

Valid-from date (ISO8601)

Valid-until date (ISO8601)

createdAtString!

Creation timestamp (ISO8601)

updatedAtString!

Last update timestamp (ISO8601)

View exact SDL
"""A quantity-band pricing rule for a specific scope"""
type PriceBracketState @iac_resource(name: "price_bracket") @iac_ops(create: "createPriceBracket", read: "getPriceBracket", update: "updatePriceBracket", delete: "deletePriceBracket") {
  """Unique identifier"""
  id: PriceBracketID! @iac_identity(assignedBy: SERVER) @iac_computed
  """Optional label"""
  name: String
  """What the bracket is scoped to"""
  scopeType: PriceBracketScopeType!
  """ID or kind code of the scoped entity"""
  scopeReference: String!
  """Customer-specific bracket (nil = all customers)"""
  customerId: CustomerID
  """Inclusive lower quantity bound"""
  minQuantity: Int!
  """Inclusive upper quantity bound (nil = unlimited)"""
  maxQuantity: Int
  """Rate value"""
  rate: Float!
  """How the rate is applied"""
  rateType: PriceBracketRateType!
  """ISO 4217 currency code"""
  currency: CurrencyISO!
  """Whether this bracket is active"""
  isActive: Boolean!
  """Valid-from date (ISO8601)"""
  validFrom: ISO8601
  """Valid-until date (ISO8601)"""
  validUntil: ISO8601
  """Creation timestamp (ISO8601)"""
  createdAt: String! @iac_computed
  """Last update timestamp (ISO8601)"""
  updatedAt: String! @iac_computed
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.