Add Item To Bag
Developing
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
Request Code Samples
curl --location --request POST 'http://petfen-account.local.com:8081/api/v1/user-bag/add-item' \
--header 'X-Auth-Service: Bearer ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"voucher_id": 2
}'
Responses
application/json {
"error": {
"code": 500,
"message": "Lỗi hệ thống",
"errors": null
}
}
Modified at 2025-10-05 14:25:32