Unit Transfers
How to add or deduct points and loyalty units in bulk using XML or JSON imports in Open Loyalty.
Adding unit transfers
<?xml version="1.0" encoding="UTF-8"?>
<transfers>
<transfer>
<customerId>e82c96cf-32a3-43bd-9034-4df343e5fd93</customerId>
<points>500</points>
<comment>Migration - initial balance</comment>
</transfer>
<transfer>
<customerId>a1b2c3d4-e5f6-7890-abcd-ef1234567890</customerId>
<points>1000</points>
<comment>Promo: Summer 2025 bonus</comment>
</transfer>
</transfers>[
{
"customerId": "e82c96cf-32a3-43bd-9034-4df343e5fd93",
"points": 500,
"comment": "Migration - initial balance"
},
{
"customerId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"points": 1000,
"comment": "Promo: Summer 2025 bonus"
}
]Spending unit transfers
Field reference
Field
Required
Description
Important notes
Common use cases
Common mistakes
Mistake
Fix
Last updated
Was this helpful?

