UpsertCustomerPriceOverrideInput
Input for creating or updating a customer price override
Fields
ID for update; omit for create
Customer ID (required)
Override type (required)
Possible values (3)
RATE_MULTIPLIERMultiplier applied to the base rate
FIXED_RATEFixed rate replacing the base rate
DISCOUNT_PERCENTPercentage discount applied to the final cost
Override scope (required)
Possible values (3)
ALL_OPERATIONSApplies to all operations
OPERATION_KINDApplies to a specific operation kind
COST_CATEGORYApplies to a specific cost category
Operation kind (required when scope is OPERATION_KIND)
Cost category ID (required when scope is COST_CATEGORY)
Override value
Currency (required for FIXED_RATE type)
Priority (default: 0)
Whether the override is active
Effective from date (ISO8601)
Effective to date (ISO8601)
Notes
Referenced by (1)
Exact type SDL
"""Input for creating or updating a customer price override"""
input UpsertCustomerPriceOverrideInput {
"""ID for update; omit for create"""
id: CustomerPriceOverrideID
"""Customer ID (required)"""
customerId: CustomerID!
"""Override type (required)"""
overrideType: PriceOverrideType!
"""Override scope (required)"""
scope: PriceOverrideScope!
"""Operation kind (required when scope is OPERATION_KIND)"""
operationKind: String
"""Cost category ID (required when scope is COST_CATEGORY)"""
costCategoryId: CostCategoryID
"""Override value"""
value: Float!
"""Currency (required for FIXED_RATE type)"""
currency: CurrencyISO
"""Priority (default: 0)"""
priority: Int
"""Whether the override is active"""
isActive: Boolean
"""Effective from date (ISO8601)"""
effectiveFrom: ISO8601
"""Effective to date (ISO8601)"""
effectiveTo: ISO8601
"""Notes"""
notes: String
}