Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metric Timeline API - Data Extraction Issue in pagination #17

Open
shahabazshafiixa opened this issue May 14, 2020 · 1 comment
Open

Comments

@shahabazshafiixa
Copy link

I am trying to dump revenue data into the warehouse hence I am using this API
https://a.klaviyo.com/api/v1//timeline

Firstly I would like to understand which field is used against since parameter to filter the data here, is it also being returned as part of the response?

Issue Recreation

  • The next parameter doesn't seem to be working,
    Request 1 Request : since:
    Response : next : next-request-token-1

Request 2 Request : next : next-request-token-1
Response : next : next-request-token-1

Right After the first request, the next token's data becomes the default API request data and I am not able to fetch data incrementally.

Referring to this doc
https://www.klaviyo.com/docs/api/metrics#metrics-timeline

@inkfactory
Copy link

I am trying to dump revenue data into the warehouse hence I am using this API
https://a.klaviyo.com/api/v1//timeline

Hi, did you find a solution to this, and would you consider sharing your code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants