Retrieve a list of all products
GET
Retrieve a list of all products
/products/all
This endpoint allows you to retrieve detailed information about all products.
Success 200
Field | Parameter | Description |
---|---|---|
product_id | string | Unique ID of the product. |
product_name | string | The name of the product. |
producer | string | The producer of the product. |
brand | string | The brand of the product. |
producer_address | string | The address of the producer. |
producer_state | string | The state of the producer. |
producer_city | string | The city of the producer. |
producer_country_code | string | The country code of the producer. |
producer_postal_code | string | The postal code of the producer. |
upc | string | The UPC code of the product. |
grocery | object | The corresponding grocery of the product. Each object has the following fields: grocery_id, category, subcategory |
stores | array of objects | The array of stores that carry the product. Each object has the following fields: store_id, store_name, price, sale_price, categories, subcategories, currency, stock, sku |
weight | object | The weight of the product. Each object has the following fields: value, unit |
size | object | The size of the product. Each object has the following fields: lenght, width, heigth, unit |
macronutrients | object | The macronutrients of the product. Each object has the following fields: fat, saturated_fat, calories, carbs, proteins, total_sugars |
micronutrients | object | The micronutrients of the product. Each object has the following fields: vitamin_d, vitamin_a, calcium, iron, potassium |
Example Response
{
"product_id": "19696639",
"product_name": "Kroger 2% Reduced Fat Milk",
"producer": "Kroger",
"brand": "Kroger",
"producer_address": "1014 Vine St.",
"producer_state": "Ohio",
"producer_city": "Cincinnati",
"producer_country_code": "OH",
"producer_postal_code": "45202",
"upc": "01111041600",
"grocery" {
"grocery_id": 49817,
"category": "Dairy",
"subcategory": "Milk"
}
"stores": [
{
"store_id": "291",
"store_name": "FoodsCo",
"price": 2.69,
"sale_price": 0,
"categories": ["Dairy"],
"subcategories": ["Milk","Reduced Fat Milk"],
"currency": "USD",
"stock": 50,
"sku": "295703"
},
{
"store_id": "475",
"store_name": "Walgreens",
"price": 2.74,
"sale_price": 0,
"categories": ["Dairy"],
"subcategories": ["Milk","Reduced Fat Milk"],
"currency": "USD",
"stock": 30,
"sku": "626406"
}
],
"weight": {
"value": 4.42,
"unit": "kg"
},
"size": {
"lenght": 4.0,
"width": 4.0,
"heigth": 9.25,
"unit": "inches"
},
"macronutrients": {
"fat": 5,
"saturated_fat": 3,
"calories": 216,
"carbs": 12,
"proteins": 8,
"total_sugars": 12
},
"micronutrients": {
"vitamin_d": 2.5,
"vitamin_a": 150,
"calcium": 290,
"iron": 0,
"potassium": 380
}
}