Snag Docs logo

Reset Loyalty Currency

Reset Loyalty Currency of a website

POSThttps://admin.snagsolutions.io/api/loyalty/reset

Reset Loyalty Currency of a website

Loading code example
Loading code example

Authorizations

apiKeyAuthstringheaderrequired

API key passed in the header.

Body

Body

type"loyalty_reset_balances" | "loyalty_reset_balances_data_and_rules" | "loyalty_reset_balances_data_not_rules"required
Allowed values: "loyalty_reset_balances" | "loyalty_reset_balances_data_and_rules" | "loyalty_reset_balances_data_not_rules"
loyaltyCurrencyIdstring<uuid>required

UUID of the loyalty currency to reset

organizationIdstring<uuid>

UUID of the organization (optional, converted to lowercase)

websiteIdstring<uuid>

UUID of the website (optional, converted to lowercase)

Response

application/json

200

successbooleanrequired