UpdatePriceBracketInput
Input for updating a price bracket. Only provided fields are changed.
Fields
Optional label
Scope type
Possible values (3)
COST_CATEGORYBracket applies to a cost category
OPERATION_KINDBracket applies to an operation kind
PRODUCTBracket 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 value
How the rate is applied
Possible values (2)
PER_UNITRate × quantity
FLATFlat 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
}