GuidesAPI ReferenceChangelogDiscussions
Back to 7shifts.comBecome a Partner
Discussions
These docs are for v2.2022.0501. Click to read the latest docs for v2.2023.0501.

Discussions

Ask a Question
Back to All

SHift sync behavior

Hello,

I have a two questions related to fetching shifts.

  1. Is it possible to fetch shifts based on the modified field? this would prevent re-polling an entire period when it is likely that few or no records have changed.
  2. For deleted records (ie: https://api.7shifts.com/v1/shifts?deleted=1), all results show up with deleted=false and soft_deleted=null. Should those columns just be disregarded, or is this a bug?

Thank you