LoyaltyTransactions
Retrieve detailed information for a specific loyalty transaction.
Unique identifier of the resource
1
Detailed information about the loyalty transaction.
Required field(s) are missing, data is invalid, or the action is not allowed.
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/loyalty_transactions/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 1,
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"amount": 100.5,
"order": 1,
"user_email": "[email protected]",
"transaction_type": "purchase",
"customer": {
"pk": 123,
"email": "[email protected]",
"first_name": "John",
"last_name": "Doe",
"phone_number": "+123456789",
"is_active": true,
"channel_code": "CH123",
"erp_code": "ERP456",
"attributes": {
"logged_ip": "127.0.0.1",
"register_client_type": "default"
},
"attribute_kwargs": {},
"localized_attributes": {},
"localized_attribute_kwargs": {},
"extra_field": {
"key1": "value1",
"key2": 100
},
"email_allowed": true,
"sms_allowed": false,
"call_allowed": true,
"date_joined": "2023-01-15T10:30:00Z",
"gender": "female",
"user_type": "guest",
"date_of_birth": "1985-08-25",
"channel": 5
},
"customer_email": "[email protected]",
"raw_request": "{...}",
"raw_response": "{...}",
"reference": "INV123456",
"remote_addr": "192.168.1.1",
"created_date": "2025-08-29T23:45:26.106Z",
"modified_date": "2025-08-29T23:45:26.106Z"
}
Retrieve a paginated list of all loyalty transactions.
Specifies the page number of the current dataset
1
Indicates the number of rows on the current page.
10
Filter by UUID.
123e4567-e89b-12d3-a456-426614174000
Filter by transaction type.
purchase
Possible values: Filter by order ID.
123
Customer's email (case-insensitive)
Filter by creation date using supported lookup expressions (e.g., gt
, gte
, lt
, lte
, date__gt
, etc.).
created_date__gt=2024-01-01T00:00:00Z
Filter by modification date using supported lookup expressions (e.g., gt
, gte
, lt
, lte
, date__gt
, etc.).
modified_date__lt=2024-01-01T00:00:00Z
Filter by reference.
INV123456
A paginated list of loyalty transactions.
Server Error
GET /api/v1/loyalty_transactions/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
[
{
"created_date": "2025-08-29T23:45:26.106Z",
"modified_date": "2025-08-29T23:45:26.106Z"
}
]
Was this helpful?