Issued Reward

Void used issued reward

Information

Item Value
Rate Limited? No
Method POST
Permission Required? Loyalty
URL https://api.eber.co/v3/public/used_issued_reward/void

Fields

Item Required? Type Description
issued_reward_id Required if issued_reward_hash is not available Integer Reward Id
issued_reward_hash Required if issued_reward_id is not available String Reward Hash

Result

{
    "issued_reward": {
        "id": 1365,
        "coupon_id": 246,
        "user_id": 19,
        "hash": "TZ9379",
        "status": "used",
        "created_at": "2018-09-14 11:48:21",
        "updated_at": "2018-09-14 11:48:34",
        "quantity": 1,
        "store_id": 457,
        "reward": {
            "id": 284,
            "name": "POS",
            "description": "",
            "type": "pos",
            "pos_redeem_method": "default",
            "pos_redeem_amount": null,
            "pos_redeem_percentage": null,
            "pos_redeem_sku": null,
            "photos": [
                {
                    "id": 1054,
                    "file_name": "1550729385_ftVxPZv9r14RN4ZAOvPd9K9U2mVQqtnZUbmvcGe9",
                    "file_ext": "jpg",
                    "imageable_type": "Tile",
                    "imageable_sub_type": null,
                    "imageable_id": 4306,
                    "height_ratio": null
                }
            ]
        }
    }
}