Appearance
UpsertPriceBracketInput
Type: Input
Input for creating or updating a price bracket
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| currency | CurrencyISO! | ISO 4217 currency code (required) | |
| customerId | CustomerID | Customer-specific bracket (omit for all customers) | |
| id | PriceBracketID | ID for update; omit to create | |
| isActive | Boolean | Whether active (default: true) | |
| maxQuantity | Int | Inclusive upper quantity bound (nil = unlimited) | |
| minQuantity | Int! | Inclusive lower quantity bound (required) | |
| name | String | Optional label | |
| rate | Float! | Rate value (required) | |
| rateType | PriceBracketRateType! | How the rate is applied (required) | |
| scopeReference | String! | ID or kind code of the scoped entity (required) | |
| scopeType | PriceBracketScopeType! | Scope type (required) | |
| validFrom | ISO8601 | Valid-from date (ISO8601) | |
| validUntil | ISO8601 | Valid-until date (ISO8601) |