Send reward voucher by email
POST
/me/rewards/{id}/email
const url = 'https://example.com/me/rewards/example/email';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"example","locale":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/me/rewards/example/email \ --header 'Content-Type: application/json' \ --data '{ "email": "example", "locale": "example" }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string