Product API
Endpoints
GET All Products from store

Retrieve a list of all products from a single store

GET Retrieve all product with a store ID

/products/store/{store_id}

This endpoint is used to retrieve a list of products available in a specific store.

Success 200

FieldParameterDescription
ProductsArrayAn array of products available in the store. Each product is represented by a JSON object with the following fields: product_id, product_name, producer, brand, macronutrients, micronutrients and stores.

Example request

GET api.foodin.ai/products/store/291
{
    "products": [
        {
            "product_id": "19696639",
		.
		.
		.
        },
        {
                "product_id": "15134540",
            .
            .
            .
        },
        {
                "product_id": "13137392",
            .
            .
            .
        },...
    ]
}