Contents
Rate Update Status - Plugixa Multi Currency for WooCommerce
GET /plugixa-multi-currency/v1/rates/status
Whether automatic rate updates are on, how the last run went and when the next one is due. Updates run on WooCommerce’s Action Scheduler.
Needs a user with the plugixa_multi_currency_view capability (signed in with an Application Password, or the login cookie with an X-WP-Nonce header). Administrators hold it; see Capabilities.
Request
GET https://your-store.example/wp-json/plugixa-multi-currency/v1/rates/status
Responses
200 OK.
{
"success": true,
"data": {
"auto": true,
"last_run": {
"at": "2026-11-20T16:20:17+00:00",
"errors": []
},
"next_run": 1795278017,
"providers": [
{
"id": "ecb",
"label": "European Central Bank"
},
{
"id": "frankfurter",
"label": "Frankfurter (ECB mirror)"
}
]
}
}
| Field | Type | Meaning |
|---|---|---|
auto |
boolean |
The auto_rates setting: automatic updates on or off |
last_run |
object|null |
at, an ISO 8601 time, and errors, one message per source that failed. null before the first run |
next_run |
integer|boolean |
Unix time of the next scheduled update, false when none is scheduled |
providers |
object[] |
The sources tried, in order, each with id and label. Pro adds the providers you switched on |
Switch automatic updates on or off with auto_rates in Update Settings.
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/rates/status" \
-u "$WP_USER:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-store.example/wp-json/plugixa-multi-currency/v1/rates/status');
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/rates/status', {
headers: {
'Authorization': `Basic ${btoa(`${process.env.WP_USER}:${process.env.WP_APP_PASSWORD}`)}`,
},
});
const { data } = await response.json();
Quick Links
Share