Parameter | Type | Required? | Comments |
---|---|---|---|
id | Integer | yes | |
member_id | Integer | yes | |
subunit_id | Integer | yes | |
earning_event_id | String | yes | One of : REGISTER COMPLETE_PROFILE REFERRAL_REGISTER REFERRAL_FIRST_RECEIPT_SCAN CHECK_IN SCAN_RECEIPT PAY_PARKING_TICKET MANUAL BIRTHDAY_GIFT_POINTS IN_APP_FEEDBACK PROMOTION_CODE SCRATCH_CAMPAIGN BECOME_VIP APP_SWITCH |
status | String | yes | One of : AVAILABLE EXPIRED USED CANCELED |
earning_date | DateTime | yes | |
expiry_date | DateTime | yes | |
points | Integer | yes | Must be greater than 0 |
{
"success": "12652a60129abef196223b97"
}
curl --location --request POST 'https://api.mpc.dev.placewise.com/dmp/transaction_points/events' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization;' \
--header 'X-Client-Authorization: '
{}