Prices

Prices_retrieve

GET
/api/v1/prices/{id}

Path Parameters

idinteger

A unique integer value identifying this Price.

Response Body

curl -X GET "https://loading/api/v1/prices/0"
{
  "id": 0,
  "product_id": 0,
  "location_id": 0,
  "proof_id": 0,
  "product": {
    "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"
  },
  "location": {
    "id": 0,
    "type": "OSM",
    "osm_id": 9223372036854776000,
    "osm_type": "NODE",
    "osm_name": "string",
    "osm_display_name": "string",
    "osm_tag_key": "string",
    "osm_tag_value": "string",
    "osm_brand": "string",
    "osm_address_postcode": "string",
    "osm_address_city": "string",
    "osm_address_country": "string",
    "osm_address_country_code": "string",
    "osm_lat": -9999,
    "osm_lon": -9999,
    "osm_version": 2147483647,
    "website_url": "http://example.com",
    "price_count": 2147483647,
    "user_count": 2147483647,
    "product_count": 2147483647,
    "proof_count": 2147483647,
    "source": "string",
    "created": "2019-08-24T14:15:22Z",
    "updated": "2019-08-24T14:15:22Z"
  },
  "proof": {
    "id": 0,
    "location_id": 0,
    "file_path": "string",
    "mimetype": "string",
    "type": "PRICE_TAG",
    "image_thumb_path": "string",
    "location_osm_id": 9223372036854776000,
    "location_osm_type": "NODE",
    "date": "2019-08-24",
    "currency": "ADP",
    "receipt_price_count": 2147483647,
    "receipt_price_total": 99999999,
    "receipt_online_delivery_costs": 99999999,
    "ready_for_price_tag_validation": true,
    "owner_consumption": true,
    "owner_comment": "string",
    "price_count": 2147483647,
    "prediction_count": 2147483647,
    "owner": "string",
    "source": "string",
    "tags": [
      "string"
    ],
    "created": "2019-08-24T14:15:22Z",
    "updated": "2019-08-24T14:15:22Z"
  },
  "type": "PRODUCT",
  "product_code": "string",
  "product_name": "string",
  "category_tag": "string",
  "labels_tags": null,
  "origins_tags": null,
  "price": 99999999,
  "price_is_discounted": true,
  "price_without_discount": 99999999,
  "discount_type": "QUANTITY",
  "price_per": "UNIT",
  "currency": "ADP",
  "location_osm_id": 9223372036854776000,
  "location_osm_type": "NODE",
  "date": "2019-08-24",
  "receipt_quantity": 9999999,
  "owner_comment": "string",
  "owner": "string",
  "source": "string",
  "tags": [
    "string"
  ],
  "created": "2019-08-24T14:15:22Z",
  "updated": "2019-08-24T14:15:22Z"
}