Get loyalty currencies
Get loyalty currencies
Authorizations
API key passed in the header.
Query Parameters
Unique identifier for the organization
Unique identifier for the website
Cursor for pagination; start after this ID
Whether to include deleted currencies
Exclude LoyaltyCurrency rows auto-created by token-reward rules (isTokenRewardCurrency=true). Defaults to true so admin pickers never see them; surfaces that need to render an existing token-reward rule pass false.
Maximum number of records to return
x >= 1, x <= 1000Response
200
dataarray<object>requireddata.idstring<uuid>requiredUnique identifier for the loyalty currency
data.organizationIdstring<uuid>requiredUnique identifier for the organization
data.websiteIdstring<uuid>requiredUnique identifier for the website
data.imageUrlstringrequiredURL of the image
data.namestringrequiredName of the loyalty currency
data.symbolstringrequiredSymbol representing the loyalty currency
data.decimalsnumberrequiredNumber of decimal places for the currency
x >= 0data.createdByIdstring<uuid>requiredID of the user who created the currency
data.createdAtstring<date-time>requiredTimestamp when the currency was created
data.updatedAtstring<date-time>requiredTimestamp when the currency was last updated
data.apiGetUrlstringrequiredAPI GET URL for fetching data
data.apiGetTransactionEntryUrlstringrequiredAPI GET URL for fetching transaction entry data
data.apiPostUrlstringrequiredAPI POST URL for sending data
data.apiAuthType"none" | "basic" | "bearer" | "apiKey"requiredType of authentication used for API
"none" | "basic" | "bearer" | "apiKey"data.apiAuthKeystringrequiredAuthentication key for API
data.apiAuthValuestringrequiredAuthentication value for API
data.sortIdnumberrequiredSorting identifier
data.deletedAtstring<date-time>requiredTimestamp when the currency was deleted, if applicable
data.isTokenRewardCurrencybooleanTrue for LoyaltyCurrency rows auto-created by resolveTokenReward (Option 1 hidden currency backing a token-reward rule). Excluded from list responses by default; opt in via excludeTokenRewardCurrencies=false on the list endpoint.
hasNextPagebooleanrequiredGET /api/loyalty/currencies — query parameters: organizationId, websiteId, startingAfter, includeDeleted, excludeTokenRewardCurrencies, limit