Get voucher batch
GET
/shops/{id}/vouchers/batches/{batch_id}
const url = 'https://example.com/shops/example/vouchers/batches/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/shops/example/vouchers/batches/exampleParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
batch_id
required
string
Responses
Section titled “ Responses ” Media type application/json
object
id
required
string
value
required
created_at
required
string
updated_at
required
string
Example
{ "value": "NaN"}