Check voucher

POST /shop/{customer}/voucher

Checks if code is valid or not

Path parameters

application/json

Body

Responses

  • 404

    Voucher not found

  • 200

    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"
}