← All types
In Input object

UpdatePriceBracketInput

Input for updating a price bracket. Only provided fields are changed.

Fields

name

StringOptional

Optional label

Scope type

Possible values (3)
COST_CATEGORY

Bracket applies to a cost category

OPERATION_KIND

Bracket applies to an operation kind

PRODUCT

Bracket applies to a product

ID or kind code of the scoped entity

Customer-specific bracket (nil = all customers)

Inclusive lower quantity bound

Inclusive upper quantity bound

rate

FloatOptional

Rate value

How the rate is applied

Possible values (2)
PER_UNIT

Rate × quantity

FLAT

Flat rate regardless of quantity within the bracket

ISO 4217 currency code

Whether active

Valid-from date (ISO8601)

Valid-until date (ISO8601)

Referenced by (1)
Exact type SDL
"""Input for updating a price bracket. Only provided fields are changed."""
input UpdatePriceBracketInput {
  """Optional label"""
  name: String
  """Scope type"""
  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"""
  maxQuantity: Int
  """Rate value"""
  rate: Float
  """How the rate is applied"""
  rateType: PriceBracketRateType
  """ISO 4217 currency code"""
  currency: CurrencyISO
  """Whether active"""
  isActive: Boolean
  """Valid-from date (ISO8601)"""
  validFrom: ISO8601
  """Valid-until date (ISO8601)"""
  validUntil: ISO8601
}