Products

Products_list

GET
/api/v1/products

Query Parameters

brands__like?string
brands_tags__contains?string
categories_tags__contains?string
code?string
ecoscore_grade?string
labels_tags__contains?string
nova_group?integer
nutriscore_grade?string
order_by?string

Which field to use when ordering the results.

page?integer

A page number within the paginated result set.

price_count?integer
price_count__gte?integer
price_count__lte?integer
product_name__like?string
size?integer

Number of results to return per page.

source?string | null
  • off - off
  • obf - obf
  • opff - opff
  • opf - opf
Value in"obf" | "off" | "opf" | "opff"
unique_scans_n__gte?integer

Response Body

curl -X GET "https://loading/api/v1/products?brands__like=string&brands_tags__contains=string&categories_tags__contains=string&code=string&ecoscore_grade=string&labels_tags__contains=string&nova_group=0&nutriscore_grade=string&order_by=string&page=0&price_count=0&price_count__gte=0&price_count__lte=0&product_name__like=string&size=0&source=obf&unique_scans_n__gte=0"
{
  "items": [
    [
      {
        "id": 0,
        "code": "string",
        "source": "off",
        "source_last_synced": "2019-08-24T14:15:22Z",
        "product_name": "string",
        "image_url": "string",
        "product_quantity": -2147483648,
        "product_quantity_unit": "string",
        "categories_tags": [
          "string"
        ],
        "brands": "string",
        "brands_tags": [
          "string"
        ],
        "labels_tags": [
          "string"
        ],
        "nutriscore_grade": "string",
        "ecoscore_grade": "string",
        "nova_group": 2147483647,
        "unique_scans_n": 2147483647,
        "price_count": 2147483647,
        "price_currency_count": 2147483647,
        "location_count": 2147483647,
        "location_type_osm_country_count": 2147483647,
        "user_count": 2147483647,
        "proof_count": 2147483647,
        "created": "2019-08-24T14:15:22Z",
        "updated": "2019-08-24T14:15:22Z"
      }
    ]
  ],
  "page": 1,
  "pages": 16,
  "size": 100,
  "total": 1531
}