Contents
On this page

List Registers - Plugixa POS for WooCommerce

GET /plugixa-pos/v1/registers

All registers, active and archived.

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/registers

Responses

200 OK.

{
  "success": true,
  "data": [
    {
      "id": 1,
      "outlet_id": 1,
      "code": "R1",
      "name": "Front counter",
      "status": "active",
      "created_at": "2026-11-16 15:52:08"
    },
    {
      "id": 2,
      "outlet_id": 1,
      "code": "R2",
      "name": "Gift corner",
      "status": "active",
      "created_at": "2026-10-08 08:00:00"
    },
    {
      "id": 3,
      "outlet_id": 2,
      "code": "R3",
      "name": "Lyon counter",
      "status": "active",
      "created_at": "2026-10-08 08:00:00"
    }
  ]
}
Field Type Meaning
data[].id integer The register’s id
data[].outlet_id integer Its store
data[].code string Short code (R1, R2…), given in order of creation, printed on receipts
data[].name string Name
data[].status string active or archived

Errors

This endpoint has no errors of its own.

Plus the errors every endpoint can return.

Examples

curl -s "https://your-site.example/wp-json/plugixa-pos/v1/registers" \
  -u "$WP_USER:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-site.example/wp-json/plugixa-pos/v1/registers');
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/registers', {
  headers: {
    'Authorization': `Basic ${btoa(`${process.env.WP_USER}:${process.env.WP_APP_PASSWORD}`)}`,
  },
});
const { data } = await response.json();

Quick Links

Share