# Update Voucher **PUT /ext/{siteid}/api/v1/voucher/{voucherid}** ## Servers - https://api.spotipo.com: https://api.spotipo.com () ## Authentication methods - Api key auth ## Parameters #### Path parameters - **voucherid** (integer) Voucher ID - **siteid** (string) Site database ID ## Body parameters Content-type: application/json - **unlimited_speed** (boolean) Set speed to be unlimited in voucher - **num_devices** (integer) Max devices allowed in this package - **unlimited_data** (boolean) Set data to be unlimited in voucher - **duration_val** (integer) Allowed duration actual value - **duration_type** (integer) Type for time duration (1,'Minutes'),(2,'Hours'),(3,'Days') - **speed_dl** (integer) Download speed , 0 for unlimited ( only if speed_limit is True) - **speed_ul** (integer) Upload speed , 0 for unlimited ( only if speed_limit is True) - **bytes_t** (integer) Total allowed data in MB, 0 for unlimited ( only if data_limit is True) - **notes** (string) Internal comments - **price** (number) Price in decimal ## Responses ### 200: Success [Powered by Bump.sh](https://bump.sh)