Adjust member currency
1 min
POST
https://api.b.preview.loyaltyservices.io/api/v3/members/{memberIdentifier}/currencies
memberIdentifierstringMember identifier
migrateboolean<p>Imports a currency adjustment i.e. creates or updates a Tally adjustment without updating point balances
or triggering bonuses or promotions. If an adjustment exists with the same account number and external reference,
that adjustment will be updated; otherwise a new adjustment is created.
If multiple adjustments should be displayed together, assign them the same sharedExternalReference.
A point value must be provided in the amount property.
The "api:member-currency</p><div></div>" scope is required to use this parameter.
Use this parameter only to migrate existing data to Tally.<p></p>
migrateBalanceboolean<p>Imports a member's currency balance i.e. posts an adjustment for the difference between current balance and requested balance.<br>
The "api:member-currency</p><div></div>" scope is required to use this parameter.
Use this parameter only to migrate existing data to Tally.<p></p>
asyncboolean<p>Submits the operation for background processing and returns a ‘202 Accepted’ response along with an identifier to track the processing status. Requires the "api:async-task</p><div></div>" scope.<p></p>
acceptstringGenerated from available response content types
bodyobjectAdjust Currency Request Object
200Success
202Accepted
400Bad request
401Unauthorized
403Forbidden
500Internal error
curl --request POST \
--url 'https://api.b.preview.loyaltyservices.io/api/v3/members/{memberIdentifier}/currencies?migrate=boolean&migrateBalance=boolean&async=boolean' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"adjustmentRuleCode": "",
"amount": "",
"comment": ""
}'