• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

API 2.0 completely processed data

Community Beginner ,
Jan 03, 2019 Jan 03, 2019

Copy link to clipboard

Copied

I am creating a dashboard using the API2.0. I found out that when you request hourly data eg orders.
The data refreshes in half hour chunks. The values for future time are always zero. So there is now way to know if the hour data is completely processed or not.
Is there anyway to get completely processed data for an hour ?

Views

305

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Jun 28, 2019 Jun 28, 2019

The only way to achieve this is to build segments with time of day e.g: 1:00 pm, 2:00pm etc. Use this segment ids while making the call depending on current time. If its less than 35 mins past the hour use previous hour segment.

E.g:
If current time is 14:10.
= Use segment id for 13:00

If current time is 14:40.

= Use segment id for 14:00.

Votes

Translate

Translate
Community Beginner ,
Jun 28, 2019 Jun 28, 2019

Copy link to clipboard

Copied

LATEST

The only way to achieve this is to build segments with time of day e.g: 1:00 pm, 2:00pm etc. Use this segment ids while making the call depending on current time. If its less than 35 mins past the hour use previous hour segment.

E.g:
If current time is 14:10.
= Use segment id for 13:00

If current time is 14:40.

= Use segment id for 14:00.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines