v1
latestOpenAPI 3.0.12026-07-24501176.6 MBGet group transactions
Retrieves the transactions of a specific group. You can also get transactions of a group member using query parameters.
Query parameters
Type of the transaction to retrieve.
Unique ID of the user group to fetch transactions.
External ID of the group.
User ID of the primary member of the group.
Identifier used for the primary user of the group. Required to get transactions of the group member.
Value of the specified identifier type.
Source in which the identifier is available.
Account ID for sources with multiple accounts such as FACEBOOK, WEBENGAGE, WHATSAPP. Applicable to fetch member transactions.
Fetch details of a specific transaction by transaction ID.
Fetch details of a specific transaction by bill number.
Unique ID of the group member to fetch group transactions made by the customer.
Filter results where transaction_date >= startDate. Pass ISO standard date format.
Filter results where transaction_date < end_date. Pass ISO standard date format.
Additional details to be fetched. You can pass multiple values each separated by a comma. PAYMENTDETAILS is supported only for regular transaction.
Pass true to fetch transactions across all programs data (future use case).
Offset of the first entry in the result. This should be positive. If offset is less than 0, then 0 default offset will be used.
Maximum number of results to show. This should be positive. if limit is less <=0, then the default limit 20 is considered.
Arranges the transactions based on the value set in sort in an ascending (asc) or descending order (desc). By default, results are shown in the descending order of transactionDate.
Pass true to fetch credit notes details.
Roles associated with the user.
Response
200
Example response
{
"data": [
{
"pointSummary": {
"issuedPoints": 40,
"availablePoints": 40,
"expiryDate": "2023-02-28T23:59:59+05:30",
"programId": 765,
"redeemableFrom": "2022-02-11T18:12:50+05:30"
},
"userGroup2": {
"id": 91898,
"groupStatus": "ACTIVE",
"lifeTimePurchases": 45000,
"primaryUserId": 420803400
},
"billDetails": {
"amount": 200,
"billingStore": {
"id": 15089278,
"code": "northstore1",
"description": "NORTH_STORE_ONE",
"name": "NORTH_STORE_ONE",
"type": "STORE",
"adminType": "GENERAL",
"isActive": true,
"currencyId": 44,
"languageId": -1
},
"billNumber": "FC2-111112573646898_bulk2",
"billingTime": "2022-02-11T18:12:50+05:30",
"discount": 10,
"grossAmount": 110,
"note": "this is test"
},
"customFields": {
"paymentmode": "abc"
},
"customerId": 420803403,
"id": 2148592384,
"lineItems": [
{
"id": 2157283693,
"details": {
"amount": 100.5,
"itemCode": "sku__2",
"qty": 1,
"rate": 100.5,
"returnable": true,
"returnableDays": -1,
"extendedFields": {
"GrossWeight": 10.5,
"MetalRate": 22.02
}
},
"outlierStatus": "NORMAL",
"valid": true
}
],
"outlierStatus": "NORMAL",
"type": "REGULAR",
"extendedFields": {
"checkin_date": "2020-06-30T18:03:52+05:30",
"checkout_date": "2020-07-12T18:03:52+05:30",
"ship_first_name": "22.02",
"ship_last_name": "10.50"
},
"autoUpdateTime": "2022-02-11T18:12:50+05:30",
"transactionEventStatus": "PROCESSING_COMPLETE",
"basketSize": 10
}
]
}