curl --request POST \
--url https://admin.snagsolutions.io/api/loyalty/reset \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"type": "loyalty_reset_balances",
"loyaltyCurrencyId": "123e4567-e89b-12d3-a456-426614174000",
"organizationId": "123e4567-e89b-12d3-a456-426614174222",
"websiteId": "123e4567-e89b-12d3-a456-426614174111"
}'
{
"success": true
}
Reset Loyalty Currency of a website. Please contact support to enable this feature.
curl --request POST \
--url https://admin.snagsolutions.io/api/loyalty/reset \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"type": "loyalty_reset_balances",
"loyaltyCurrencyId": "123e4567-e89b-12d3-a456-426614174000",
"organizationId": "123e4567-e89b-12d3-a456-426614174222",
"websiteId": "123e4567-e89b-12d3-a456-426614174111"
}'
{
"success": true
}
Body
The body is of type object
.
200
The response is of type object
.
Was this page helpful?