Contents
Get Store - Plugixa POS for WooCommerce
GET /plugixa-pos/v1/outlets/{id}
One store (the code calls it an outlet): what the receipts print about it.
Needs a user with the plugixa_pos_manage_settings capability (signed in with an Application Password, or the login cookie with an X-WP-Nonce header). Administrators hold it; other roles only when you grant it.
Request
GET https://your-site.example/wp-json/plugixa-pos/v1/outlets/1
Path parameters
| Name | Type | Description |
|---|---|---|
id |
integer |
The store’s id |
Responses
200 OK.
{
"success": true,
"data": {
"id": 1,
"name": "Maison Plugixa Marais",
"address": {
"address_1": "12 rue des Archives",
"city": "Paris",
"postcode": "75004",
"country": "FR",
"address_2": ""
},
"phone": "",
"email": "marais@your-site.example",
"tax_id": "FR 40 123 456 789",
"settings": [],
"status": "active",
"created_at": "2026-11-16 15:52:08",
"updated_at": "2026-11-16 15:52:08"
}
}
| Field | Type | Meaning |
|---|---|---|
data.id |
integer |
The store’s id |
data.name |
string |
Store name, printed on receipts |
data.address |
object |
address_1, address_2, city, postcode, country, state |
data.phone |
string |
Phone |
data.email |
string |
|
data.tax_id |
string |
Tax id, printed on receipts |
data.status |
string |
active or archived |
data.created_at |
string |
UTC, Y-m-d H:i:s |
data.updated_at |
string |
UTC, Y-m-d H:i:s |
Errors
| Status | Code | When |
|---|---|---|
404 |
plugixa_pos_not_found |
No store with that id. |
Plus the errors every endpoint can return.
Examples
curl -s "https://your-site.example/wp-json/plugixa-pos/v1/outlets/1" \
-u "$WP_USER:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-site.example/wp-json/plugixa-pos/v1/outlets/1');
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-site.example/wp-json/plugixa-pos/v1/outlets/1', {
headers: {
'Authorization': `Basic ${btoa(`${process.env.WP_USER}:${process.env.WP_APP_PASSWORD}`)}`,
},
});
const { data } = await response.json();
Quick Links
Share