updateProducts
Partner can use this API to collect the latest data after they have completed at least one data collection task. The input parameter is connectionKey, which was sent to the partner when Klavi first sent the report.
During the update process, partner can also use the CheckStatus() to check the status.
It's OK not to poll actively. Anyway, when the task is completed, the result will be returned by callback.
This updateProducts API will depend on previous user credentials. However, there is always a chance that users have changed their credentials when we tried to update.
So, as soon as you receive any of the error codes related to wrong credentials, such as 402, 406, and 408, please stop calling this API, instead, ask users to connect with new credentials again. Otherwise, the wrong credentials case would stick and might cause account-blocking issues.
Request parameter: None
Body:
Name | Type | Required | Description |
connectionKey | String | Yes | The tracking number of the task |
Return data:
Name | Type | Description |
traceId | String | The tracking number of the task |
Request example:
Return to the correct example:
Examle of formatting errors: