The method allows saving the results of the NPS survey.
sdk.review(params) { callback } |
Name | Requirement | Description |
---|---|---|
params | required | Request parameters. |
callback | required | The callback function will be executed if the request is successful. |
Name | Requirement | Description | |
---|---|---|---|
channel | required | The NPS channel code. | |
category | required | The NPS category code. | |
rate | required | The rating got from the user.
| |
comment | optionally | User comment. | |
order_id | optionally | Order ID, related to the current survey |
sdk.review(rate: 9, channel: "ios_app", category: "delivery", order_id: "ORDER-100500", comment: "It's not bad, but it could be better.") { _ in // when the survey is successfully saved } |
Page Navigation Related Pages |