Contents
Export Fixed Prices - Plugixa Multi Currency for WooCommerce
GET /plugixa-multi-currency/v1/pro/prices/export
Every simple product, external product and variation (published, private or draft), one line per currency other than the store currency, with its fixed prices. Edit the file and load it back with Import Fixed Prices.
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. The user also needs WooCommerce’s edit_products, because these routes change product prices.
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/prices/export
Responses
200 OK. The CSV comes as text inside the JSON.
{
"success": true,
"data": {
"filename": "fixed-prices-2026-11-20.csv",
"csv": "product_id,sku,name,type,currency,regular,sale,sale_from,sale_to\n15,woo-beanie,Beanie,simple,EUR,17.90,15.90,,\n15,woo-beanie,Beanie,simple,GBP,,,,\n..."
}
}
| Field | Type | Meaning |
|---|---|---|
filename |
string |
A file name with today’s date |
csv |
string |
The file: columns product_id, sku, name, type, currency, regular, sale, sale_from, sale_to. Empty cells mean no fixed price or no date |
Dates are YYYY-MM-DD. A name that starts with =, +, - or @ is prefixed with a quote so a spreadsheet does not run it as a formula.
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/prices/export" \
-u "$WP_USER:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-store.example/wp-json/plugixa-multi-currency/v1/pro/prices/export');
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/prices/export', {
headers: {
'Authorization': `Basic ${btoa(`${process.env.WP_USER}:${process.env.WP_APP_PASSWORD}`)}`,
},
});
const { data } = await response.json();
// data.csv is the file, data.filename its name
Quick Links
Share