---
title: "saveCurrencyRatio"
method: POST
path: "/currencyratio/v1/saveCurrencyRatio"
tags: ["Currency Ratio Service"]
---

# saveCurrencyRatio

`POST /currencyratio/v1/saveCurrencyRatio`

## Request

- Base URL: `//webservices-test.net-chef.com` (relative, and the document’s source URL is not known)
- URL: `//webservices-test.net-chef.com/currencyratio/v1/saveCurrencyRatio`
- Auth: none declared. Required headers: `authenticationtoken`, `password`, `sitename`, `userid`

Create a new currency exchange rate. 
 Update a currency exchange rate details.

## Headers

- `authenticationtoken` string, required
- `password` string, required
- `sitename` string, required
- `userid` string, required
- `X-B3-TraceId` string

## Request body

- CurrencyRatioDetailsList: CurrencyRatioDetailsList description
  - `currencyRatioDetails` CurrencyRatioDetails[]
    - `currencyRatioDetailDetails` CurrencyRatioDetailsDto[]
      - `exchangeRate` number, required: "Exchange Rate" from Currency Ratio.
      - `fromCurrencyCode` string, required: "From Currency" Code from Currency Ratio.
      - `fromFactor` integer: "From" Factor from Currency Ratio.
      - `toCurrencyCode` string, required: "To Currency" Code from Currency Ratio.
      - `toFactor` integer: "To" Factor from Currency Ratio.
  - `locationCode` string, required: The Code that identifies the Location in Crunchtime.

## Response `200`

Success

- object

## Other responses

- `400`: Validation Error
- `401`: Authorization
- `429`: Too Many Requests
- `500`: Unexpected Error
- `503`: System under maintenance
- `504`: Timeout

## Changes

- **2026-11-03** `fff247a87cc9`: 1 breaking, 1 info
  - the request property `currencyRatioDetails/items/currencyRatioDetailDetails/items/exchangeRate` became required
  - the request property `currencyRatioDetails/items/currencyRatioDetailDetails/items/toFactor` became optional

[Operation history](https://skmtc.dev/crunchtime/apis/inventory-labor/changes/currencyratio/v1/saveCurrencyRatio/post.md)

---

[API](https://skmtc.dev/crunchtime/apis/inventory-labor.md) - [All operations](https://skmtc.dev/crunchtime/apis/inventory-labor/llms.txt) - [OpenAPI document](https://skmtc.dev/crunchtime/apis/inventory-labor/revisions/fff247a87cc9?raw)
