List all products
Retrieves all retail products across the organization with inventory levels.
Before you begin
- You need a valid API key or access token. See Set up API authentication.
Permission: Manage API Keys (under Administrator) — Required to access Zenoti APIs.
Endpoint
GET /v1/products
Base URL: https://api.zenoti.com
Request
Headers
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | bearer {{access_token}} |
Query parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| center_id | string (GUID) | No | — | Filter by center |
| page | integer | No | 1 | Page number |
| size | integer | No | 10 | Records per page (max 100) |
Response
Success (200 OK)
{
"products": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"code": "PROD001",
"name": "Hydrating Serum",
"barcode": "123456789012",
"sale_price": 45.00,
"cost_price": 18.00,
"on_hand_quantity": 42,
"vendor_name": "Beauty Essentials Inc."
}
],
"page_info": { "total": 350, "page": 1, "size": 10 },
"error": null
}
Response fields
| Field | Type | Description |
|---|---|---|
| products | array | List of product objects |
| products[].id | string (GUID) | Product identifier |
| products[].sale_price | decimal | Retail price |
| products[].cost_price | decimal | Wholesale cost |
| products[].on_hand_quantity | integer | Current stock level |
| page_info | object | Pagination metadata |
Example
curl --request GET \
--url 'https://api.zenoti.com/v1/products?page=1&size=10' \
--header 'Authorization: bearer {{access_token}}'
const response = await fetch('https://api.zenoti.com/v1/products', {
method: 'GET',
headers: {
'Authorization': 'bearer {{access_token}}'
},
});
const data = await response.json();
import requests
response = requests.get(
'https://api.zenoti.com/v1/products',
headers={
'Authorization': 'bearer {{access_token}}',
},
)
data = response.json()
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "bearer {{access_token}}");
var response = await client.GetAsync(
"https://api.zenoti.com/v1/products");
var data = await response.Content.ReadAsStringAsync();
require 'net/http'
require 'json'
uri = URI('https://api.zenoti.com/v1/products')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Authorization'] = 'bearer {{access_token}}'
response = http.request(request)
data = JSON.parse(response.body)
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.zenoti.com/v1/products');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: bearer {{access_token}}'
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
Error codes
| Status | Description |
|---|---|
| 401 | Unauthorized — invalid or expired access token |
| 429 | Too many requests — rate limit exceeded (60/min) |