Retrieving Created or Updated Program Memberships
The POST /v2/program-memberships/bulk-search endpoint offers a way to reconcile which program memberships were created at and/or updated at within a given time frame.
Last updated
The POST /v2/program-memberships/bulk-search endpoint offers a way to reconcile which program memberships were created at and/or updated at within a given time frame.
Last updated
curl -X POST 'https://loyalty.hang.xyz/partner-api/v2/program-memberships/bulk-search' \
-H 'X-API-KEY: <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
--data-raw '{
"filter": {
"created": {
"start": 1735862400,
"end": 1735948800
}
},
"page_size": 100,
"page": 2
}'
{
"memberships":
[
{
"id":"some_guid",
"phone":"+15555551234",
"external_user_id":"some_id",
"magic_link":"https://domain.hang.xyz/direct-auth?auth_code=111111\u0026verification_token=<some_guid>",
"created_at":1736106812,
"updated_at":1736366012}
}
],
"total_records":158
}