List your pharmacy inventory
curl --request GET \
--url https://vitarelay.com/api/public/v1/products \
--header 'Authorization: Bearer <token>'import requests
url = "https://vitarelay.com/api/public/v1/products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://vitarelay.com/api/public/v1/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://vitarelay.com/api/public/v1/products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://vitarelay.com/api/public/v1/products"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://vitarelay.com/api/public/v1/products")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://vitarelay.com/api/public/v1/products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "7c1f0f7e-9a2b-4f1d-9c33-1a2b3c4d5e6f",
"name": "Semaglutide",
"description": "GLP-1 receptor agonist.",
"category": "weight_management",
"product_type": "503a",
"strengths": [
"0.25 mg",
"0.5 mg"
],
"dosage_forms": [
"injection"
],
"ndc_code": "12345-678-90",
"in_stock": true,
"requires_prescription": true,
"ships_to_patient": true,
"ships_to_office": true,
"min_order_qty": 1,
"image_urls": [
"https://cdn.vitarelay.com/products/semaglutide.jpg"
],
"status": "active",
"created_at": "2026-01-10T00:00:00Z",
"updated_at": "2026-08-01T00:00:00Z"
}
],
"next_cursor": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "validation_failed",
"message": "One or more fields are invalid"
}
}{
"error": {
"code": "validation_failed",
"message": "One or more fields are invalid"
}
}{
"error": {
"code": "validation_failed",
"message": "One or more fields are invalid"
}
}Products
List your pharmacy inventory
Lists the products in your own pharmacy’s inventory (for pharmacies integrated with VitaRelay). This is your stock list — not the RUO or 503A catalogs. For the sellable RUO catalog use GET /catalog; for 503A compounded products use GET /rx/catalog.
GET
/
products
List your pharmacy inventory
curl --request GET \
--url https://vitarelay.com/api/public/v1/products \
--header 'Authorization: Bearer <token>'import requests
url = "https://vitarelay.com/api/public/v1/products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://vitarelay.com/api/public/v1/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://vitarelay.com/api/public/v1/products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://vitarelay.com/api/public/v1/products"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://vitarelay.com/api/public/v1/products")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://vitarelay.com/api/public/v1/products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "7c1f0f7e-9a2b-4f1d-9c33-1a2b3c4d5e6f",
"name": "Semaglutide",
"description": "GLP-1 receptor agonist.",
"category": "weight_management",
"product_type": "503a",
"strengths": [
"0.25 mg",
"0.5 mg"
],
"dosage_forms": [
"injection"
],
"ndc_code": "12345-678-90",
"in_stock": true,
"requires_prescription": true,
"ships_to_patient": true,
"ships_to_office": true,
"min_order_qty": 1,
"image_urls": [
"https://cdn.vitarelay.com/products/semaglutide.jpg"
],
"status": "active",
"created_at": "2026-01-10T00:00:00Z",
"updated_at": "2026-08-01T00:00:00Z"
}
],
"next_cursor": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "validation_failed",
"message": "One or more fields are invalid"
}
}{
"error": {
"code": "validation_failed",
"message": "One or more fields are invalid"
}
}{
"error": {
"code": "validation_failed",
"message": "One or more fields are invalid"
}
}Authorizations
API key issued by VitaRelay. Send as Authorization: Bearer vr_live_…
(production) or Authorization: Bearer vr_test_… (sandbox).
Query Parameters
Page size. Default 50, maximum 100.
Required range:
1 <= x <= 100The next_cursor value returned by the previous page.
When true, only in-stock products are returned.

