Will the below ‘since’ and ‘until’ dates use the modification date value? Or is that always the creation_date?
I’m looking to get the most recent updated orders on a daily basis. Or do I need to remove the until and since - and just get the most recent # of orders?
let response = await axios.get(`https://api.infusionsoft.com/crm/rest/v1/orders?limit=1000&order=modification_date&since=${since}&until=${now}&offset=${offset}&access_token=${access_token}`)
@Rick_Nielsen, my suggestion would be that you would be better off querying the XML-RPC tables. You can query the Order / OrderItem / InvoicePayment / Payment tables. The REST v1 API is too limiting in places.
Should we discontinue using the rest api as its not reliable? The below does not work.
let response = await axios.get(`https://api.infusionsoft.com/crm/rest/v1/orders?limit=1000&order=modification_date&offset=${offset}&access_token=${access_token}`)