Contents
On this page

List Modifier Groups - Plugixa POS for WooCommerce

GET /plugixa-pos/v1/modifier-groups

Every modifier group (options such as milk or size, chosen at the register).

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/modifier-groups

Responses

200 OK.

{
  "success": true,
  "data": [
    {
      "id": 1,
      "name": "Milk",
      "required": false,
      "multiple": false,
      "max_choices": 1,
      "options": [
        {
          "id": 1,
          "name": "Oat milk",
          "price": "0.50"
        },
        {
          "id": 2,
          "name": "Soy milk",
          "price": "0.50"
        }
      ],
      "product_ids": [],
      "category_ids": [118],
      "sort": 1,
      "updated_at": "2026-11-19 15:40:00"
    }
  ]
}

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

Quick Links

Share