Get Points Ledger Information in Connected Orgs

Query Params
string
required

Identifier type to identify the customer or group. For user groups, the following identifiers are applicable: groupId, externalId, and primaryUserId. For customers, the applicable identifiers include mobile, email, externalId, cuid, and id.

string
required

Value of the specified identifier type of the customer.

string
required

Source in which the identifier is available.

string

For a source with multiple accounts, pass the specific accountId in which the customer identifier is available.

int32
Defaults to 10

Get the customer’s ledger information of a specific TILL. Pass the unique till ID.

int32

Number of results to retrieve. Max value supported is 10.

int32
Defaults to 0

Page number to show.

int32

Retrieve the ledger details of a specific program. By default, details of all programs will be retrieved.

string

Get ledger information from on or after a specific date. Pass the start date in YYYY-MM-DDThh:mm:ss format. Default value is 90 days

string

Get ledger information until a specific date. Pass the end date in YYYY-MM-DDThh:mm:ss format. Default value is 90 days

boolean

Pass true to fetch deduction entries that were triggered at the tills mapped to the Concept of the Program ID even if the deductions are from a different program. Default value is false. When true, pass the programId also, else it will be qualified as invalid input combination.

string

The type of ledger entries to fetch. By default, it fetches all the ledger entry types.

string

The point category type for which you want to fetch ledger details. By default, it fetches all the points category details.

string

Setting this field returns entries for type of user, whether individual customer or a group. Only two values are allowed here - CUTSOMER, USERGROUP2

boolean

Returns entry for the primary member of a group, in case of usergroups.

string

Exclude certain events if you dont want to retrieve entries from that event.

string

Retrieves the value of that particular event, which is passed in this filed. Eg. TransactionAdd, CustomerRegistration etc.

string

These are the roles defined by the brands for members in a user group. For example, PRIMARY, SECONDARY, and so on.

boolean

If set to true, the API response will include data from the last year instead of the last 90 days when only startDate or endDate is passed in the API query parameter.

string

Sort the order of entries from date. ASC or DESC

boolean

Indicates whether the date filter should be applied when fetching data from the database.

boolean

Pass includeAlternateCurrencies=true to retrieve all alternate currencies available with the customer.

string

Filter alternate currencies for the customer based on the name. You can also pass a list of comma-separated alternate currency names. Set the parameter includeAlternateCurrencies to false when you use this. If the value is true, includeAlternateCurrencies lists all the available currencies.

Headers
string

List of Organization IDs

string
required

The scope to authorize access (SELF, OTHER, ALL)

Responses

Language
Credentials
Basic
base64
:
URL
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json