Authorizations
Path Parameters
Body
application/json
curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/admin/rewards/{rewardId}/redemption-values \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '{
"csvUrl": "<string>"
}'
{
"success": true,
"data": {
"totalProcessed": 123,
"updatedAssetsSupply": 123,
"hasDuplicates": true
},
"message": "<string>"
}
Upload and process reward redemption values from a CSV file. The CSV file should have one redemption code per line, with no headers.
curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/admin/rewards/{rewardId}/redemption-values \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '{
"csvUrl": "<string>"
}'
{
"success": true,
"data": {
"totalProcessed": 123,
"updatedAssetsSupply": 123,
"hasDuplicates": true
},
"message": "<string>"
}
Was this page helpful?