prices

GET /api/v1/prices/{id}

Changed on

Request

  • Base URL
    https://prices.openfoodfacts.org (the document declares no server; this is the origin it was published from)
  • URL
    https://prices.openfoodfacts.org/api/v1/prices/{id}
  • Auth
    none required

Path parameters

idinteger required

A unique integer value identifying this Price.

Response

idinteger required
product_idinteger required
location_idinteger required
proof_idinteger required
type'PRODUCT' | 'CATEGORY' required
  • PRODUCT - PRODUCT
  • CATEGORY - CATEGORY
product_codestring nullable
product_namestring nullable
category_tagstring nullable
labels_tagsstring[] nullable
origins_tagsstring[] nullable
pricenumber double nullable
price_is_discountedboolean
price_without_discountnumber double nullable
location_osm_idinteger nullable
datestring date nullable
receipt_quantitynumber double nullable
owner_commentstring nullable
ownerstring nullable
sourcestring nullable
tagsstring[]
createdstring date-time
updatedstring date-time required
duplicate_ofinteger nullable

Changes

    • warning

      added the new LITER enum value to the //// response property for the response status

    • info

      added the optional property / to the response with the status