Contents
Revenue Summary - Plugixa Multi Currency for WooCommerce
GET /plugixa-multi-currency/v1/reports/summary
The dashboard’s revenue figures: orders of the last 30 days that are processing, completed or on hold, by currency, with their revenue in your store currency. See Revenue reports.
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.
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/reports/summary
Responses
200 OK.
{
"success": true,
"data": {
"base": "USD",
"days": 30,
"orders": 72,
"revenue_base": "4571.69",
"by_currency": [
{
"currency": "USD",
"orders": 24,
"revenue": "1590.5",
"revenue_base": "1590.5",
"unconverted": 0
},
{
"currency": "EUR",
"orders": 21,
"revenue": "1326.98",
"revenue_base": "1422.83",
"unconverted": 0
},
{
"currency": "JPY",
"orders": 4,
"revenue": "34555",
"revenue_base": "223.92",
"unconverted": 0
},
"..."
],
"truncated": false,
"rates": {
"at": "2026-11-20T16:20:17+00:00",
"errors": []
},
"currencies": 8
}
}
| Field | Type | Meaning |
|---|---|---|
base |
string |
The store currency |
days |
integer |
Always 30 |
orders |
integer |
Orders counted |
revenue_base |
string |
Their total in the store currency |
by_currency |
object[] |
Per currency, highest revenue first: orders, revenue in that currency, revenue_base in the store currency, and unconverted, orders placed before the plugin recorded their store-currency total, left out of revenue_base |
truncated |
boolean |
true when the 5,000-order cap was reached |
rates |
object|null |
The last rate update, as in Rate Update Status |
currencies |
integer |
Enabled currencies |
Totals use each order’s own rate, saved at checkout, never today’s rate. The result is kept for 10 minutes.
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/reports/summary" \
-u "$WP_USER:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-store.example/wp-json/plugixa-multi-currency/v1/reports/summary');
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/reports/summary', {
headers: {
'Authorization': `Basic ${btoa(`${process.env.WP_USER}:${process.env.WP_APP_PASSWORD}`)}`,
},
});
const { data } = await response.json();
Quick Links
Share