GET
/
customers
/
{user_id}
/
loyalty-points-activity
curl --request GET \
  --url https://services.commercengine.dev/api/v1/x2yh61zw4k/storefront/customers/{user_id}/loyalty-points-activity \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "success": true,
  "content": {
    "loyalty_points_activity": [
      {
        "activity_type": "earned",
        "activity": "order",
        "reference_number": "<string>",
        "title": "<string>",
        "loyalty_point": 123,
        "remarks": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "modified_at": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Access token

Path Parameters

user_id
string
required

user id

Query Parameters

limit
integer

no of rows per page

Required range: x > 1
page
number

page number of pagination list

Required range: x > 1
sort_by
string

JSON string format: {"field1":"asc", "field2":"desc"}

Response

200
application/json
OK
message
string
success
boolean
content
object