Loyalty point events
Loyalty point events import endpoint
https://{BASE_URL}/imports/loyalty_point_events
All import integration endpoints use the same authentication parameters, please see Authentication page for more details.
You may post an object containing a JSON array of Loyalty point events
to the endpoint.
Based on the event types, the loyalty point balance will be overwritten or adjusted.
JSON Example
{
"events": [
{
"currency_code": "DKK",
"customer_id": "226DBB0D-E7AC-4901-8D56-57C94F84F7CC",
"source": {
"type": "external",
"externalReference": "initial_points"
},
"timestamp": "2023-01-16T15:28:39",
"type": "overwrite",
"overwrite": 10
},
{
"currency_code": "DKK",
"customer_id": "ABC_DEF",
"source": {
"type": "external",
"externalReference": "id_of_event_in_your_system"
},
"timestamp": "2023-01-16T14:28",
"type": "earned",
"adjustment": 15
}
]
}