List store products
curl --request GET \
--url https://api.vori.com/v1/store-products \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vori.com/v1/store-products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vori.com/v1/store-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://api.vori.com/v1/store-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://api.vori.com/v1/store-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://api.vori.com/v1/store-products")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vori.com/v1/store-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": "<string>",
"active": true,
"barcode": "<string>",
"brand": "<string>",
"country_of_origin": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"department_id": "<string>",
"description": "<string>",
"ebt_enabled": true,
"ecommerce_enabled": true,
"food_modifier_categories": [
{
"id": "<string>",
"max_selection": 123,
"min_selection": 123,
"modifiers": [
{
"id": "<string>",
"item_modifier": {
"id": "<string>",
"name": "<string>",
"value": "199.99"
},
"priority": 123
}
],
"name": "<string>",
"priority": 123
}
],
"images": [
{
"id": "<string>",
"is_primary": true,
"thumbnail_url": "<string>",
"url": "<string>"
}
],
"is_blackhawk_gift_card": true,
"is_prepackaged": true,
"is_reloadable_blackhawk_gift_card": true,
"is_tippable": true,
"item_modifiers": [
{
"id": "<string>",
"name": "<string>",
"tax_behavior": "EXCLUDE",
"type": "bottle_deposit",
"value": "199.99"
}
],
"loyalty_points_per_dollar": "199.99",
"manual_item": true,
"maximum_retail_price": "199.99",
"min_customer_age": 123,
"minimum_retail_price": "199.99",
"name": "<string>",
"prompt_for_quantity": true,
"retail_price": "199.99",
"sold_by_weight": true,
"store_id": "<string>",
"sync_to_deli_scales": false,
"target_margin": "199.99",
"tax_rates": [
{
"id": "<string>",
"category": "other",
"name": "<string>",
"value": "8.25",
"value_type": "amount"
}
],
"updated_at": "2023-11-07T05:31:56Z",
"variable_sale_price": true,
"variable_weights": [
{
"id": "<string>",
"name": "<string>",
"unit": "LBS",
"value": "199.99"
}
],
"wic_enabled": true,
"active_vendor": {
"id": "<string>",
"code": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
},
"active_vendor_product": {
"id": "<string>",
"barcode": "<string>",
"barcode_type": "EAN 13 Type 2 Without Check Digit",
"brand_name": "<string>",
"case_cost": "199.99",
"case_cost_start_time": "2023-11-07T05:31:56Z",
"case_size": "199.99",
"case_upc": "<string>",
"case_weight_lb": "199.99",
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"each_cost": "199.99",
"each_cost_start_time": "2023-11-07T05:31:56Z",
"inner_pack_size": "199.99",
"is_order_primary": true,
"item_code": "<string>",
"lb_cost": "199.99",
"lb_cost_start_time": "2023-11-07T05:31:56Z",
"mutation_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"purchase_order_uom_lock": "CASE",
"store_id": "<string>",
"store_product": {
"id": "<string>",
"barcode": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"primaryVendorConfiguration": "LATEST_COST",
"updated_at": "2023-11-07T05:31:56Z"
},
"store_product_id": "<string>",
"store_vendor": {
"id": "<string>",
"code": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
},
"unit_volume": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"attributes": [
{
"id": "<string>",
"banner_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"deactivated_at": "2023-11-07T05:31:56Z",
"display_group": "allergen",
"name": "<string>",
"owned_by_vori": true,
"store_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"inventory": {
"current": "199.99",
"last_changed_at": "2023-11-07T05:31:56Z",
"max_stock": "<string>",
"min_par": "<string>"
},
"store_vendor_products": [
{
"id": "<string>",
"barcode": "<string>",
"barcode_type": "EAN 13 Type 2 Without Check Digit",
"brand_name": "<string>",
"case_cost": "199.99",
"case_cost_start_time": "2023-11-07T05:31:56Z",
"case_size": "199.99",
"case_upc": "<string>",
"case_weight_lb": "199.99",
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"each_cost": "199.99",
"each_cost_start_time": "2023-11-07T05:31:56Z",
"inner_pack_size": "199.99",
"is_order_primary": true,
"item_code": "<string>",
"lb_cost": "199.99",
"lb_cost_start_time": "2023-11-07T05:31:56Z",
"mutation_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"purchase_order_uom_lock": "CASE",
"store_id": "<string>",
"store_product": {
"id": "<string>",
"barcode": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"primaryVendorConfiguration": "LATEST_COST",
"updated_at": "2023-11-07T05:31:56Z"
},
"store_product_id": "<string>",
"store_vendor": {
"id": "<string>",
"code": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
},
"unit_volume": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
],
"has_more": true
}{
"error_code": "conflicting_list_parameters"
}{
"error_code": "insufficient_permissions",
"error_details": {
"action": "*",
"resource": "*"
}
}Store products
List store products
Lists store products, newest first. Page with limit and starting_after / ending_before, and narrow the results with the filter parameters below. The state parameter offers a wider set of filters and its own sorting, and cannot be combined with either.
GET
/
v1
/
store-products
List store products
curl --request GET \
--url https://api.vori.com/v1/store-products \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vori.com/v1/store-products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vori.com/v1/store-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://api.vori.com/v1/store-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://api.vori.com/v1/store-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://api.vori.com/v1/store-products")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vori.com/v1/store-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": "<string>",
"active": true,
"barcode": "<string>",
"brand": "<string>",
"country_of_origin": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"department_id": "<string>",
"description": "<string>",
"ebt_enabled": true,
"ecommerce_enabled": true,
"food_modifier_categories": [
{
"id": "<string>",
"max_selection": 123,
"min_selection": 123,
"modifiers": [
{
"id": "<string>",
"item_modifier": {
"id": "<string>",
"name": "<string>",
"value": "199.99"
},
"priority": 123
}
],
"name": "<string>",
"priority": 123
}
],
"images": [
{
"id": "<string>",
"is_primary": true,
"thumbnail_url": "<string>",
"url": "<string>"
}
],
"is_blackhawk_gift_card": true,
"is_prepackaged": true,
"is_reloadable_blackhawk_gift_card": true,
"is_tippable": true,
"item_modifiers": [
{
"id": "<string>",
"name": "<string>",
"tax_behavior": "EXCLUDE",
"type": "bottle_deposit",
"value": "199.99"
}
],
"loyalty_points_per_dollar": "199.99",
"manual_item": true,
"maximum_retail_price": "199.99",
"min_customer_age": 123,
"minimum_retail_price": "199.99",
"name": "<string>",
"prompt_for_quantity": true,
"retail_price": "199.99",
"sold_by_weight": true,
"store_id": "<string>",
"sync_to_deli_scales": false,
"target_margin": "199.99",
"tax_rates": [
{
"id": "<string>",
"category": "other",
"name": "<string>",
"value": "8.25",
"value_type": "amount"
}
],
"updated_at": "2023-11-07T05:31:56Z",
"variable_sale_price": true,
"variable_weights": [
{
"id": "<string>",
"name": "<string>",
"unit": "LBS",
"value": "199.99"
}
],
"wic_enabled": true,
"active_vendor": {
"id": "<string>",
"code": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
},
"active_vendor_product": {
"id": "<string>",
"barcode": "<string>",
"barcode_type": "EAN 13 Type 2 Without Check Digit",
"brand_name": "<string>",
"case_cost": "199.99",
"case_cost_start_time": "2023-11-07T05:31:56Z",
"case_size": "199.99",
"case_upc": "<string>",
"case_weight_lb": "199.99",
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"each_cost": "199.99",
"each_cost_start_time": "2023-11-07T05:31:56Z",
"inner_pack_size": "199.99",
"is_order_primary": true,
"item_code": "<string>",
"lb_cost": "199.99",
"lb_cost_start_time": "2023-11-07T05:31:56Z",
"mutation_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"purchase_order_uom_lock": "CASE",
"store_id": "<string>",
"store_product": {
"id": "<string>",
"barcode": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"primaryVendorConfiguration": "LATEST_COST",
"updated_at": "2023-11-07T05:31:56Z"
},
"store_product_id": "<string>",
"store_vendor": {
"id": "<string>",
"code": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
},
"unit_volume": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"attributes": [
{
"id": "<string>",
"banner_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"deactivated_at": "2023-11-07T05:31:56Z",
"display_group": "allergen",
"name": "<string>",
"owned_by_vori": true,
"store_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"inventory": {
"current": "199.99",
"last_changed_at": "2023-11-07T05:31:56Z",
"max_stock": "<string>",
"min_par": "<string>"
},
"store_vendor_products": [
{
"id": "<string>",
"barcode": "<string>",
"barcode_type": "EAN 13 Type 2 Without Check Digit",
"brand_name": "<string>",
"case_cost": "199.99",
"case_cost_start_time": "2023-11-07T05:31:56Z",
"case_size": "199.99",
"case_upc": "<string>",
"case_weight_lb": "199.99",
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"each_cost": "199.99",
"each_cost_start_time": "2023-11-07T05:31:56Z",
"inner_pack_size": "199.99",
"is_order_primary": true,
"item_code": "<string>",
"lb_cost": "199.99",
"lb_cost_start_time": "2023-11-07T05:31:56Z",
"mutation_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"purchase_order_uom_lock": "CASE",
"store_id": "<string>",
"store_product": {
"id": "<string>",
"barcode": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"primaryVendorConfiguration": "LATEST_COST",
"updated_at": "2023-11-07T05:31:56Z"
},
"store_product_id": "<string>",
"store_vendor": {
"id": "<string>",
"code": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
},
"unit_volume": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
],
"has_more": true
}{
"error_code": "conflicting_list_parameters"
}{
"error_code": "insufficient_permissions",
"error_details": {
"action": "*",
"resource": "*"
}
}Authorizations
Query Parameters
Comma-separated list of related data to include on each product:
active_vendor— Populatesactive_vendorwith the vendor supplying the product's current cost.active_vendor_product— Populatesactive_vendor_productwith the catalog entry supplying the product's current cost, including costs.attributes— Populatesattributeswith the attributes the product carries. Needs the permission to read product attributes.inventory— Populatesinventorywith on-hand quantity data.store_vendor_products— Populatesstore_vendor_productswith every vendor's catalog entry for the product.
Available options:
active_vendor, active_vendor_product, attributes, inventory, store_vendor_products Was this page helpful?