Check voucher

POST /shop/{customer}/voucher

Checks if code is valid or not

Path parameters

  • customer string Required

    Customer ID

application/json

Body

  • code string
  • nick string

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