get https://{host}/v2/customers/lookup/promisedPointsSchedule
Retrieves the history of promised points conversion schedules of a customer for a single program or across all programs of the org.
This is a light API.
Important Note
When | fetchDataForAllPrograms is true | fetchDataForAllPrograms is false |
---|---|---|
programId is passed | You will still see promised points schedules of the customer across all programs | You will still see promised points schedules of that particular program. |
programId is not passed | You will still see promised points schedules of the customer across all programs | You will still see promised points schedules of the default program. |
Response Parameters
Parameter | Datatype | Description |
---|---|---|
entityId | long | Unique ID of the customer. |
pointsType | enum | Type of the points entry. Values: bill_regular, bill_promotions, line_item_regular, line_item_promotions, customer_promotions. |
expiryType | enum | Points expiry type - fixed or rolling. |
triggerBasedPointsList | obj | Shows the required condition to convert delayed accrual (promised points) to main points. |