# Update Rate Update a specific rate. Endpoint: PUT /api/v1/rate/{id} Version: 1.0 ## Path parameters: - `id` (integer, required) ## Request fields (application/json): - `code` (string, required) - `season` (integer) - `currency` (integer, required) - `calculationMethod` (string) Defines the calculation methods used in the application. Enum: "BOM_COST", "PURCHASE_PRICE", "MOTHER_RATE" - `motherRate` (integer) - `percentageIncrease` (number) - `amountToAdd` (number) - `roundingType` (string) Defines the rounding types. Enum: "TERMINATION", "MULTIPLE" - `roundingRate` (number) - `proximityType` (string) Defines the proximity types. Enum: "NEARBY", "PREVIOUS", "LATER" - `active` (boolean) - `taxesIncluded` (boolean) - `finalPriceCalculations` (boolean) ## Response 200 fields (application/json): - `id` (integer, required) Unique identifier of the entity Example: 1 - `code` (string, required) - `season` (object) Season information - `season.description` (string) - `season.isCurrent` (boolean) - `season.startDate` (string, required) - `season.endDate` (string, required) - `currency` (object) Currency information - `currency.nomenclature` (string) - `currency.isoCode` (string) Defines the ISO currency codes. Enum: "AED", "AFA", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZM", "BAM", "BBD", "BDT", "BGL", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUP", "CVE", "CYP", "CZK", "DJF", "DKK", "DOP", "DZD", "EEK", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHC", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGF", "MKD", "MMK", "MNT", "MOP", "MRO", "MTL", "MUR", "MVR", "MWK", "MXN", "MYR", "MZM", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "ROL", "RUR", "RWF", "SAR", "SBD", "SCR", "SDD", "SEK", "SGD", "SHP", "SIT", "SKK", "SLL", "SOS", "SPL", "SRG", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMM", "TND", "TOP", "TRL", "TTD", "TVD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEB", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XCD", "XDR", "XOF", "XPD", "XPF", "XPT", "YER", "YUM", "ZAR", "ZMK", "ZWD", "RUB", "TRY" - `currency.changeValue` (number) - `currency.significantDecimalsDocuments` (integer) - `currency.intermediateDecimalsDocuments` (integer) - `currency.decimalsCalculatePrices` (integer) - `currency.decimalsCalculateCosts` (integer) - `calculationMethod` (string) Defines the calculation methods used in the application. Enum: "BOM_COST", "PURCHASE_PRICE", "MOTHER_RATE" - `motherRate` (object) - `motherRate.code` (string, required) Unique code for the rate. Example: "R-SALE-2024" - `motherRate.seasonDescription` (string) Description of the season associated with the rate. Example: "Spring 2024" - `motherRate.currencyId` (integer) ID for the currency associated with the rate. Example: 978 - `motherRate.currencyDescription` (string, required) Description of the currency for the rate. Example: "Euro" - `motherRate.currencyNomenclature` (string) Nomenclature or code of the currency. Example: "EUR" - `motherRate.motherRate` (string, required) Mother rate description. Example: "General Rate" - `motherRate.active` (boolean) Indicates whether the rate is active. Example: true - `motherRate.rateCodeId` (integer) Identifier for the rate code. Example: 12 - `percentageIncrease` (number) - `amountToAdd` (number) - `roundingType` (string) Defines the rounding types. Enum: "TERMINATION", "MULTIPLE" - `roundingRate` (number) - `proximityType` (string) Defines the proximity types. Enum: "NEARBY", "PREVIOUS", "LATER" - `active` (boolean) - `rateCode` (object) Exchange rate code information - `rateCode.taxesIncluded` (boolean) - `finalPriceCalculations` (boolean)