Skip to main content
GET
/
customer
/
api
/
open
/
v1
/
loyalty
/
customers
/
{customerId}
/
timeline
Get customer timeline (including loyalty events)
curl --request GET \
  --url https://api.bitbybit.studio/customer/api/open/v1/loyalty/customers/{customerId}/timeline \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "customerId": "<string>",
      "type": "<string>",
      "source": "<string>",
      "edit_log": "<string>",
      "notes": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "meta": {
    "startCursor": "<string>",
    "endCursor": "<string>",
    "hasNextPage": true,
    "hasPreviousPage": true,
    "total": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://knowledge.bitbybit.studio/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

API key for authentication. Create one in Settings > Developer.

Path Parameters

customerId
string
required

Query Parameters

months
string
category
enum<string>
Available options:
support,
loyalty,
system
limit
integer
after
string
before
string

Response

200 - application/json

Success

data
object[]
meta
object