Loyalty
Loyalty account and point movements
Returns the user's total loyalty (points) balance.
Business Logic:
Aggregates balances from all loyalty accounts for the active session currency
Returns a single
balancevalue (Decimal, 2 fractional digits)Multi-currency supported: separate balance per currency
Filtered by session currency
Notes:
Only returns balance for the active session currency
If balance is 0: no account in this currency OR fully consumed
Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.
osessionid=abc123Language preference (for multilingual content). Supported languages: tr, en, ar, ru, de, fr
trExample: trPossible values: Successful response
Authentication credentials were not provided.
Lists the user's loyalty point transfer history.
Business Logic:
Includes both point earnings and spendings
Each transfer: amount, transaction date, related order number, currency
Sorted newest first (
-pk)Supports pagination
Filtered by session currency
Transfer Types:
Positive values: Point earning (credit) – post-order accrual
Negative values: Point spending (debit) – usage during checkout
Related Data:
Each transfer is linked to a
LoyaltyTransactionTransaction contains an order number (
order.number)Transaction date (
transaction.created_date) is also returned
Page number (starts from 1)
1Example: 1Number of records per page
10Example: 10Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.
osessionid=abc123Language preference (for multilingual content). Supported languages: tr, en, ar, ru, de, fr
trExample: trPossible values: Successful response
Authentication credentials were not provided.
Last updated
Was this helpful?

