Contents
On this page

Export Settings - Plugixa Multi Currency for WooCommerce

GET /plugixa-multi-currency/v1/transfer/export

The Download settings button of Tools > Settings backup: the plugin’s settings, every currency, and the settings of each Pro feature, in one object you can load on another site. See Settings backup.

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 404 rest_no_route.

Request

GET https://your-store.example/wp-json/plugixa-multi-currency/v1/transfer/export

Responses

200 OK. data is the settings file.

{
  "success": true,
  "data": {
    "format": "plugixa-multi-currency-settings",
    "version": "1.0.0",
    "exported_at": "2026-11-20T16:20:47+00:00",
    "site": "https://your-store.example/",
    "store_currency": "USD",
    "settings": {
      "auto_rates": true,
      "floating_switcher": true,
      "...": "..."
    },
    "currencies": {
      "EUR": {
        "code": "EUR",
        "enabled": true,
        "rate": "0.9099181073",
        "margin_pct": "1",
        "...": "..."
      },
      "...": "..."
    },
    "sections": {
      "seo": {
        "enabled": false,
        "hreflang": []
      },
      "rate_alerts": {
        "threshold": "2",
        "email": true,
        "recipient": "",
        "hold": false
      },
      "rate_providers": {
        "order": ["ecb", "frankfurter", "..."],
        "enabled": {
          "ecb": true,
          "...": "..."
        },
        "interval": "daily"
      },
      "currency_rules": {
        "EUR": {
          "charm": "",
          "...": "..."
        },
        "...": "..."
      },
      "...": "..."
    }
  }
}
Field Type Meaning
format string Always plugixa-multi-currency-settings
version string The plugin version that made it
exported_at string ISO 8601, UTC
site string The site it came from
store_currency string That site’s store currency
settings object As in Get Settings, without delete_data_on_uninstall and setup_done
currencies object Code to currency, without id, sort and rate_updated_at
sections object Each Pro feature’s settings: seo, merchant_feed, role_prices, detection, rate_providers, price_extras, rate_alerts, and currency_rules per currency. Only features that are on

API keys of rate providers and the Merchant feed’s secret key are not exported. rate_alerts carries the alert settings only (threshold, email, recipient, hold): rates waiting for approval and the site’s admin email stay on the site. Fixed prices live on products: use Export Fixed Prices.

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/transfer/export" \
  -u "$WP_USER:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-store.example/wp-json/plugixa-multi-currency/v1/transfer/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/transfer/export', {
  headers: {
    'Authorization': `Basic ${btoa(`${process.env.WP_USER}:${process.env.WP_APP_PASSWORD}`)}`,
  },
});
const { data } = await response.json();
// save JSON.stringify(data) as a .json file

Quick Links

Share