Skip to main content

Overview

The OneRewards Integration API provide api for operation such as point redemption, get member info and etc. The following list out the command operations that you can do with OneRewards Integration API.

Get Member Real Time Information


OperationDescription
Get MemberGet a specific member.
Get Member InfoGet a member information regarding the point balance and number of vouchers claimed.
Get Member ListingGet a list of members with filters.
Get Member Level ListingGet a list of member level with filters.

Get Member Obtainable / Usable E-Vouchers


OperationDescription
Get Obtainable VoucherRetrieve vouchers that can be obtained by the member.
Get Usable VoucherRetreive vouchers that can be used by the member.
Can Get Voucher NowRetrieve the voucher information and the obtainability for the member.
Can Use Voucher NowRetrieve the voucher information and the usability for the member.

Create Sales Transaction


OperationDescription
Post TransactionCreate sales transaction.
Unpost TransactionVoid sales transaction.

Create Sales Transaction with Return


OperationDescription
Post TransactionCreate sales transaction. In order to create sales transaction with return, the field type inside Sales Details Input Model need to be type R - (Return).
Unpost TransactionVoid sales transaction.

Create Sales Transaction with Trade In


OperationDescription
Post TransactionCreate sales transaction. In order to create sales transaction with trade in, the field type inside Sales Details Input Model need to be type T - (Trade-in). It also need to be followed by another Sales Details Input Model with type N - (Normal) to indicate the product bought.
Unpost TransactionVoid sales transaction.

Create Sales Transaction with Point Redemption


OperationDescription
Get Mobile User Membership Info by Auth CodeGet mobile app user membership info, including the redemptionCode necessary for processing member redemptions. If the member is linked to any mobile app user, redemptionCode is required for point redemption. Therefore, this api need to be called first to retrieve redemptionCode to be used for creating sales transaction with point redemption.
Post TransactionCreate sales transaction. In order to create sales transaction with point redemption, the field redemption and redemptionDescription inside Points Input Model need to have values. If the point is redeemed for payment, the field payments should have the record detailing another payment method with points and the amount paid.
Unpost TransactionVoid sales transaction.

Create Sales Transaction with Voucher Redemption


OperationDescription
Post TransactionCreate sales transaction. In order to create sales transaction with voucher redemption, the field voucherNo and discontAmount inside Voucher Input Model need to have values. It also need to have at least one Sales Details Input Model with type D - (Discount) to indicate the discount applied from voucher.
Unpost TransactionVoid sales transaction.

Create / Update Member


OperationDescription
Create MemberCreate a member.
Update MemberUpdate a member. If member is linked to a mobile app user, restriction will be applied to some field to avoid conflicting data between member record and mobile app user record.

Create Member from Mobile App User


OperationDescription
Create Member from Mobile UserCreate a new member from mobile app user. If existing member record that have not linked to any mobile app user has the same phone number, it will link to that record instead of creating a new one.
Get Mobile UserGet a specific mobile app user.
Get Mobile User Membership Info by Auth CodeGet mobile app user membership info, including the redemption code necessary for processing member redemptions.

Migrate Member from other system


OperationDescription
Migrate MemberMigrate member record from other system. The api can only migrate one member at a time.

Upload receipt softcopy


OperationDescription
Get Upload Receipt UrlRetrieved pre-signed urls to upload receipt softcopy to cloud storage. The api only return the urls that can be used to upload receipt indicating that the urls returned need to be call again with the file attached to upload the receipt.

Issue Voucher To Member


OperationDescription
Issue Voucher To MemberIssue voucher to the member. Voucher need to be claimed before using.