v1

latestOpenAPI 3.0.2EULA2026-07-143221521.2 MB
Vouchers

Get a voucher

Get information about a specific voucher.

get/vouchers/{voucher_id}

Path parameters

voucher_idstring required

The unique ID of the voucher.

Headers

Accept-Languagestring

The unique ID of the language code by ISO 639-1.

Response

OK

Example response

{
  "data": {
    "voucher_id": "8bb7345976bbc9ed20e5083dd6",
    "customer_id": "81ceb8582e2d8dbb7e71b7273b",
    "store_id": "86e05affc7a7abefcd513ab400",
    "code": "w7TU7KfeE",
    "value": 3.49,
    "applied_date": "2013-07-24 21:33:13",
    "valid_from": "2013-07-10 21:33:13",
    "valid_to": "2013-07-30 21:33:13",
    "reward_group": "83cfee22eabfbbb15a14815e30",
    "note": "Contact before use",
    "reward": {
      "reward_id": "83cfee22eabfbbb15a14815e30",
      "code": "REWARD-001",
      "name": "Dessert+Caffe",
      "subtitle": "Valid for all menu items",
      "points_cost": 200,
      "valid_time_from": "09:00:00",
      "valid_time_to": "22:00:00",
      "reward_type_id": "8fdd651ff3f615bcebebad87ce",
      "store_list": [
        {
          "store_id": "81eaeea13b8984a169c490a325",
          "store_code": "84a169c490a325",
          "name": "Another good store",
          "store_address": {
            "address1": "Old Town Square",
            "address2": "34",
            "address3": "1a",
            "zip": "11000",
            "city": "Prague 1",
            "country_code": "cz"
          },
          "contact_email": "good.store@crmcarecloud.com",
          "manager_name": "Andrew Black",
          "phone_number": "420523828931",
          "partner_id": "86e05affc7a7abefcd513ab400",
          "system_id": "2375303497",
          "url_address": "www.crmcarecloud.com",
          "opening": [
            {
              "day_id": "MON",
              "time_intervals": [
                {
                  "from": "08:00:00",
                  "to": "15:30:00"
                }
              ]
            }
          ],
          "visibility_for_customer": 1,
          "short_description": "Another good store for buying beverages",
          "description": "Another good store for buying beverages: beer, wine, juice, soda",
          "registration_id": "81eaeea13b89",
          "last_change": "2023-03-28 16:12:56",
          "state": 1
        }
      ],
      "additional_properties": [
        {
          "property_record_id": "docasna_blokace_darce_do:8ea2591121e636086a4a9c0992",
          "property_id": "docasna_blokace_darce_do",
          "property_name": "Property #6",
          "last_change": "2023-02-02 00:00:00"
        }
      ],
      "has_product_condition": true,
      "has_product_bonus": true,
      "reward_product_relation_conditions": [
        {
          "related_to": "product",
          "count": 3,
          "min_price": 11.3,
          "max_price": 22
        }
      ],
      "reward_product_relation_bonuses": [
        {
          "related_to": "product",
          "count": 3,
          "min_price": 11.3,
          "max_price": 22
        }
      ],
      "tags": [
        {
          "tag_id": "838b73aacb5ac326cec4030c80",
          "name": "Recommended",
          "text_id": "recommended_tag",
          "state": 1,
          "last_change": "2019-01-04 10:31:56"
        }
      ],
      "last_change": "2013-07-24 21:33:33",
      "state": 1
    },
    "created_at": "2022-07-24 21:33:13",
    "last_change": "2022-07-24 21:33:33",
    "state": 1
  }
}