Order list with selected fields for a date range

Order list with selected fields for a date range

RobertM
Excursionist
20 0 4

I can get a list of orders with only selected fields with this endpoint with no problem

/orders.json?fields=created_at,id,name

If I try to get it for a selected date range with the following end point it doesn't work and returns all the fields and not just the requested fields for the date range

/orders.json?created_at_min=2021-11-15T00:00:00-05:00&fields=created_at,id,name

I tried flipping it as follow, and it returns the selected fields again, but ignores the created_at_min information.

/orders.json?fields=created_at,id,name&created_at_min=2021-11-15T00:00:00-05:00

Does anyone know how to contruct this, or can it not be done?  Am I missing something?
Thanks

Bob

Replies 0 (0)