Commerce Engine is now in beta. We're working hard to make it better for you.
curl --request GET \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/customers/{user_id}/loyalty-points-activity \
--header 'Authorization: Bearer <token>'{
"message": "<string>",
"success": true,
"content": {
"loyalty_points_activity": [
{
"activity_type": "earned",
"activity": "<unknown>",
"reference_number": "<string>",
"title": "<string>",
"loyalty_point": 123,
"remarks": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z"
}
]
}
}List all loyalty points activity
curl --request GET \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/customers/{user_id}/loyalty-points-activity \
--header 'Authorization: Bearer <token>'{
"message": "<string>",
"success": true,
"content": {
"loyalty_points_activity": [
{
"activity_type": "earned",
"activity": "<unknown>",
"reference_number": "<string>",
"title": "<string>",
"loyalty_point": 123,
"remarks": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z"
}
]
}
}Access token
user id
no of rows per page
x >= 1page number of pagination list
x >= 1JSON string format: {"field1":"asc", "field2":"desc"} json string in format {'field_name':'asc', 'other_field_name':'desc', ...}
OK
Show child attributes
Show child attributes
earned, redeemed Was this page helpful?