Contents
Get Rate Alerts - Plugixa Multi Currency for WooCommerce
GET /plugixa-multi-currency/v1/pro/rate-alerts
The rate alert settings and every rate held for approval. See Rate alerts and history.
Needs a user with the plugixa_multi_currency_manage_settings capability (signed in with an Application Password, or the login cookie with an X-WP-Nonce header). Administrators hold it; see Capabilities.
Note. Pro only: on the free plugin this route answers
404rest_no_route.
Request
GET https://your-store.example/wp-json/plugixa-multi-currency/v1/pro/rate-alerts
Responses
200 OK.
{
"success": true,
"data": {
"threshold": "2",
"email": true,
"recipient": "",
"hold": true,
"held": [
{
"id": 431,
"currency": "INR",
"rate": "95.4012",
"current": "92.6751592356",
"change": "2.94",
"provider": "ecb",
"fetched_at": "2026-11-21 15:30:04"
}
],
"admin_email": "owner@your-store.example"
}
}
| Field | Type | Meaning |
|---|---|---|
threshold |
string |
Change in percent, 0 to 100, from which an update counts as a big move |
email |
boolean |
Email when a rate moves more than the threshold |
recipient |
string |
Who gets the email. Empty sends it to the site’s admin email |
hold |
boolean |
Hold big moves for your approval instead of applying them |
held |
object[] |
The rates waiting for approval, the newest per currency: id, currency, rate, current (the rate in use), change (in percent), provider, fetched_at (UTC) |
admin_email |
string |
The site’s admin email, used when recipient is empty |
Errors
| Status | Code | When |
|---|---|---|
401 / 403 |
rest_forbidden |
The caller lacks the capability: Sorry, you are not allowed to do that. |
Plus the errors every endpoint can return.
Examples
curl -s "https://your-store.example/wp-json/plugixa-multi-currency/v1/pro/rate-alerts" \
-u "$WP_USER:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-store.example/wp-json/plugixa-multi-currency/v1/pro/rate-alerts');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERPWD => getenv('WP_USER') . ':' . getenv('WP_APP_PASSWORD'),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
const response = await fetch('https://your-store.example/wp-json/plugixa-multi-currency/v1/pro/rate-alerts', {
headers: {
'Authorization': `Basic ${btoa(`${process.env.WP_USER}:${process.env.WP_APP_PASSWORD}`)}`,
},
});
const { data } = await response.json();
Quick Links
Share