{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 delivery methods

Use this endpoint to gather available delivery methods to send with sales, these should be made available as options to the user on checkout. Each of these is a delivery medium for vouchers, online methods such as email will be dispatched by the system immediately or on their delivery date, manual methods such as post are viewable in the dashboard and must be dispatched by staff.

Request

Headers

GET REQUEST (/delivery-methods)

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

Response


{
    "data": [
        {
            "id": 14,
            "name": null,
            "description": "Your voucher will be emailed to you as a PDF attachment",
            "price": "0.00",
            "type": "email"
        },
        {
            "id": 19,
            "name": null,
            "description": "Collect your voucher in a Gift Envelope from the Cellar Door",
            "price": "0.00",
            "type": "email"
        },
        {
            "id": 22,
            "name": null,
            "description": "Your voucher will be sent First Class in a Rathfinny gift envelope",
            "price": "2.50",
            "type": "offline"
        },
        {
            "id": 29,
            "name": null,
            "description": "Your voucher will be sent First Class in a gift envelope with a Rathfinny Brochure enclosed",
            "price": "3.95",
            "type": "offline"
        }
    ]
}