Contents
Get Quote - Plugixa POS for WooCommerce
GET /plugixa-pos/v1/quotes/{id}
One quote, to show it or load it into the register.
Needs a user with the plugixa_pos_sell 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/quotes/1
Path parameters
| Name | Type | Description |
|---|---|---|
id |
integer |
The quote’s id |
Responses
200 OK.
{
"success": true,
"data": {
"id": 1,
"number": "QT-2026-00001",
"status": "open",
"register_id": 1,
"customer_id": 88,
"customer": "Camille Martin",
"lines": [
{
"product_id": 3819,
"variation_id": 0,
"qty": 2,
"name": "Minimal watch",
"unit": "149.00",
"discount": 0,
"options": [],
"option_rows": [],
"note": "",
"custom": null,
"ref": "quote:1:0"
}
],
"total": "298.00",
"tax": "49.67",
"currency": "EUR",
"valid_until": "2026-12-19",
"note": "Corporate gift, 2 units",
"order_id": 0,
"created_at": "2026-11-19T14:30:00+00:00"
}
}
Errors
| Status | Code | When |
|---|---|---|
404 |
plugixa_pos_not_found |
No quote with that id, or not reachable for this user. |
Plus the errors every endpoint can return.
Examples
curl -s "https://your-site.example/wp-json/plugixa-pos/v1/quotes/1" \
-u "$WP_USER:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-site.example/wp-json/plugixa-pos/v1/quotes/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/quotes/1', {
headers: {
'Authorization': `Basic ${btoa(`${process.env.WP_USER}:${process.env.WP_APP_PASSWORD}`)}`,
},
});
const { data } = await response.json();
Quick Links
Share