question

adityaer avatar image
adityaer asked Mark Mullan Deactivated answered

Usage of Shifts CSV API

Trying to use Get .csv of all shifts GET /v3/merchants/{mId}/shifts.csv

Keeps returning with 400 - Bad Request, with { "message": "Please try a smaller date range." }

Can you provide an example with correct usage ? (Already tried adding in_time > < as query param)/

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Mark Mullan avatar image
Mark Mullan Deactivated answered

Hi @adityaer,

Try this URI and set of query params, and let me know if you receive what you're looking for:

https://sandbox.dev.clover.com/v3/merchants/{mid}/shifts.csv?beforeTime=1487134740000&afterTime=1487048400000

Mark

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community