Contents
On this page
Export Groups - Plugixa Extra Product Options
GET /plugixa-epo/v1/export
Groups as an export file, the same file Export all downloads. Each group is exported from its draft. See Templates, import and export.
Needs a user with the plugixa_epo_manage capability (signed in with an Application Password, or the login cookie with an X-WP-Nonce header). Administrators and shop managers hold it; see Permissions. Pro only: on the free plugin this route answers 404 rest_no_route.
Request
GET https://your-store.example/wp-json/plugixa-epo/v1/export?ids=7,8
Query parameters
| Field | Type | Required | Description |
|---|---|---|---|
ids |
string |
No | Comma-separated group ids. Left out: every group. |
Responses
200 OK. data is the file.
{
"success": true,
"data": {
"format": "plugixa-epo-groups",
"version": 1,
"site": "https://your-store.example",
"exported_at": "2026-11-21T10:52:30+00:00",
"groups": [
{
"title": "Gift options",
"priority": 10,
"doc": {
"version": 1,
"fields": ["…"],
"targets": {
"all": false,
"products": [],
"categories": [21]
},
"layout": "list"
}
}
]
}
}
| Field | Type | Meaning |
|---|---|---|
format |
string |
Always plugixa-epo-groups |
version |
integer |
The file format, 1 |
site |
string |
The store it came from. Targets are kept on import only on this same site |
exported_at |
string |
UTC |
groups |
array |
Each { title, priority, doc }, doc being the group document as in Get Group |
The fields list is shortened here.
Errors
| Status | Code | When |
|---|---|---|
401 / 403 |
plugixa_epo_forbidden |
The caller lacks the capability: You are not allowed to do that. |
Plus the errors every endpoint can return.
Examples
curl -s "https://your-store.example/wp-json/plugixa-epo/v1/export?ids=7,8" \
-u "$WP_USER:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-store.example/wp-json/plugixa-epo/v1/export?ids=7,8');
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-epo/v1/export?ids=7,8', {
headers: {
'Authorization': `Basic ${btoa(`${process.env.WP_USER}:${process.env.WP_APP_PASSWORD}`)}`,
},
});
const { data } = await response.json();
Quick Links
Share