List the transactions for a customer

The Loyalty API is currently in beta.

Please contact our Support Team via our JIRA Service Desk for access to the Beta. If you don’t have access, please contact your account administrator for assistance.

Not yet integrated with Primer and interested in learning more? Contact us.

Create an API key with the loyalty-transactions:read scopes.

Get all your loyalty transactions. You can filter by connectionId (recommended) and by customerId and orderId.

Additionally provide a limit to restrict the number of transactions in the response, and an offset to determine where to start.

Headers

X-API-KEYstringRequired

Query parameters

connectionIdstringOptional
Filter transactions by customer Id.
customerIdstringOptional
Filter transactions by customer Id.
orderIdstringOptional
Filter transactions by orderId.
limitintegerOptionalDefaults to 50
Limit the number of returned results
offsetintegerOptionalDefaults to 0
The number of items to skip before returning results

Response

Successful Response
itemslist of objects or null
The list of loyalty transactions
totalinteger or null
The total number of available results
limitinteger or null
The limit of the paged result
offsetinteger or null
The offset of the paged result

Errors