Authorization: Bearer YOUR_TOKEN
Expected Behavior:
- On success, the system will apply the voucher and return a confirmation message.
- If the request is unauthorized or invalid, the system will respond with an error message.
curl -X POST "https://api.pinghome.io/customer-cmd/v1/customer/applied-voucher" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
--data '{
"code": "AAACCCBBDD-CSSSS1"
}'