Check voucher

POST /shop/{customer}/voucher

Checks if code is valid or not

Path parameters

application/json

Body

Responses

  • Voucher not found

  • Voucher used successfully

POST /shop/{customer}/voucher
curl \
 -X POST https://shopmc.app/api/shop/{customer}/voucher \
 -H "Content-Type: application/json" \
 -d '{"code":"string","nick":"string"}'
Request example
{
  "code": "string",
  "nick": "string"
}