proofs

PATCH /api/v1/proofs/{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/proofs/{id}
  • Auth
    HTTP bearer

Path parameters

idinteger required

A unique integer value identifying this Proof.

Request body

location_osm_idinteger nullable
type'PRICE_TAG' | 'RECEIPT' | 'GDPR_REQUEST' | 'SHOP_IMPORT'
  • PRICE_TAG - PRICE_TAG
  • RECEIPT - RECEIPT
  • GDPR_REQUEST - GDPR_REQUEST
  • SHOP_IMPORT - SHOP_IMPORT
datestring date nullable
receipt_price_countinteger nullable
receipt_price_totalnumber double nullable
receipt_online_delivery_costsnumber double nullable
ready_for_price_tag_validationboolean
owner_consumptionboolean nullable
owner_commentstring nullable
location_idinteger

Response

location_osm_idinteger nullable
type'PRICE_TAG' | 'RECEIPT' | 'GDPR_REQUEST' | 'SHOP_IMPORT' required
  • PRICE_TAG - PRICE_TAG
  • RECEIPT - RECEIPT
  • GDPR_REQUEST - GDPR_REQUEST
  • SHOP_IMPORT - SHOP_IMPORT
datestring date nullable
receipt_price_countinteger nullable
receipt_price_totalnumber double nullable
receipt_online_delivery_costsnumber double nullable
ready_for_price_tag_validationboolean
owner_consumptionboolean nullable
owner_commentstring nullable
location_idinteger

Changes

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property (media type: multipart/form-data)

    • info

      added the optional property to the response with the status

    • breaking

      the request property's max was decreased to 10000000.00 (media type: application/json)

    • breaking

      the request property's max was decreased to 10000000.00 (media type: application/x-www-form-urlencoded)

    • breaking

      the request property's max was decreased to 10000000.00 (media type: multipart/form-data)

    • breaking

      the request property's max was decreased to 10000000.00 (media type: application/json)

    • breaking

      the request property's max was decreased to 10000000.00 (media type: application/x-www-form-urlencoded)

    • breaking

      the request property's max was decreased to 10000000.00 (media type: multipart/form-data)

    • warning

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

    • warning

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

    • info

      added the new XCG enum value to the request property //// (media type: application/json)

    • info

      added the new XCG enum value to the request property //// (media type: application/x-www-form-urlencoded)

    • info

      added the new XCG enum value to the request property //// (media type: multipart/form-data)

    • info

      added the new ZWG enum value to the request property //// (media type: application/json)

    • info

      added the new ZWG enum value to the request property //// (media type: application/x-www-form-urlencoded)

    • info

      added the new ZWG enum value to the request property //// (media type: multipart/form-data)