← API reference
CANONICAL TYPE REFERENCE

CreatePriceBracketInput

Input for creating a price bracket

nameString

Optional label

Scope type (required)

ID or kind code of the scoped entity (required)

Customer-specific bracket (omit for all customers)

Inclusive lower quantity bound (required)

Inclusive upper quantity bound (nil = unlimited)

rateFloat!

Rate value (required)

How the rate is applied (required)

ISO 4217 currency code (required)

isActiveBoolean

Whether active (default: true)

Valid-from date (ISO8601)

Valid-until date (ISO8601)

View exact SDL
"""Input for creating a price bracket"""
input CreatePriceBracketInput {
  """Optional label"""
  name: String
  """Scope type (required)"""
  scopeType: PriceBracketScopeType!
  """ID or kind code of the scoped entity (required)"""
  scopeReference: String!
  """Customer-specific bracket (omit for all customers)"""
  customerId: CustomerID
  """Inclusive lower quantity bound (required)"""
  minQuantity: Int!
  """Inclusive upper quantity bound (nil = unlimited)"""
  maxQuantity: Int
  """Rate value (required)"""
  rate: Float!
  """How the rate is applied (required)"""
  rateType: PriceBracketRateType!
  """ISO 4217 currency code (required)"""
  currency: CurrencyISO!
  """Whether active (default: true)"""
  isActive: Boolean
  """Valid-from date (ISO8601)"""
  validFrom: ISO8601
  """Valid-until date (ISO8601)"""
  validUntil: ISO8601
}

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