{warning} This API is likely to change before the Beta period is over, please check back regularly to see the latest changes.

Get a list of available vouchers

Using this endpoint you can get a list of available vouchers to be displayed on your own website or in an application.

Request

Headers

GET REQUEST (/vouchers)

Header: Content-Type - application/json
Header: Accepts - application/json
Header: Smart-Auth sk_XXXXXXXXXXXXXXXXXX

Response

There are 2 types of voucher; monetary and experience. Monetary vouchers are supplied with a minimum maximum and increment value, these are used to show the customer the possible selections for the voucher value. Experience vouchers have a fixed value and this is stored in the value field.


{
    "data": [
        {
            "id": 37,
            "title": "Monetary Gift Voucher",
            "selling_description": "Create your own personalised experience at Rathfinny Wine Estate with this voucher. This voucher can be redeemed at the Cellar Door, Tasting Room restaurant and Flint Barns. \r\n\r\nThis voucher is valid for 24 months after purchase.",
            "type": "monetary",
            "value": null,
            "min": "10.00",
            "max": "1000.00",
            "increments": "5.00",
            "expiry": 2,
            "image": "https://smart-gift-uk-dev.s3.eu-west-2.amazonaws.com/product-images/Vso02R4k9vPSexEztVAhhvKxrGgz7ECE6xsdNaDr.jpeg",
            "created_at": "2020-10-25T15:58:30.000000Z",
            "updated_at": "2020-11-13T14:35:04.000000Z"
        },
        {
            "id": 38,
            "title": "Dinner, Bed & Breakfast for two at the Flint Barns",
            "selling_description": "Enjoy a short break away in the heart of the vineyard with this experience, including a three-course dinner for two in the Flint Barns dining room, one night’s accommodation in a double room followed by a delicious home cooked breakfast. The Flint Barns is nestled in the heart of the South Downs so is the perfect place for a relaxing night away. Enjoy a three-course dinner of comforting and wholesome dishes, led by our Estate Head Chef Chris Bailey, in a relaxed and informal setting. To book, please call the Flint Barns on 01323 874030 or email flintbarns@rathfinnyestate.com. Booking in advance is essential and please mention the voucher at the time of booking. \r\n\r\nThis voucher is valid for 24 months after purchase.",
            "type": "experience",
            "value": "215.00",
            "min": null,
            "max": null,
            "increments": null,
            "expiry": 2,
            "image": "https://smart-gift-uk-dev.s3.eu-west-2.amazonaws.com/product-images/ex9OgRxR9rYzvwyhsoIZKtdeeXxO6iAZ6sqPxlzz.jpeg",
            "created_at": "2020-10-30T12:19:27.000000Z",
            "updated_at": "2020-12-07T10:23:27.000000Z"
        }
    ]
}