Post Earning
1 min
POST
https://api.b.preview.loyaltyservices.io/api/v3/members/{memberIdentifier}/earnings
memberIdentifierstringMember identifier
migrateboolean<p>Imports a transaction i.e. creates or updates a Tally transaction without updating point balances
or triggering bonuses or promotions. If a transaction exists with the same account number and reference ID,
that transaction will be updated; otherwise a new transaction is created.
A point value is not calculated for the transaction but can be provided in the providedAmount property.
The "api:transaction</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>
isRetroboolean<p>Indicates this is a retroactive hotel transaction. When true and referenceId is not provided, the system will auto-generate a unique referenceId based on transaction details. Only applies to hotel transactions.</p>
acceptstringGenerated from available response content types
bodyobjectTransaction Request
200Success
202Accepted
400Bad request
401Unauthorized
403Forbidden
500Internal error
curl --request POST \
--url 'https://api.b.preview.loyaltyservices.io/api/v3/members/{memberIdentifier}/earnings?migrate=boolean&async=boolean&isRetro=boolean' \
--header 'accept: application/json'