Offset not working on Customer API call

35 views
Skip to first unread message

Jonathan Barksdale

unread,
May 4, 2017, 6:24:13 PM5/4/17
to Lightspeed Retail API Developers
Hello,

I'm attempting to make a Customer API call to pull all customer records and augmenting the load_relations to ensure that the contact and custom field objects are also returned.  It is returning the 0 offset every time, even when I try to modify the offset as shown in this call:

https://api.merchantos.com/API/Account/<Account>/Customer&load_relations=["Contact","CustomFieldValues"]&offset=100

Can anyone see anything wrong with this?  I've done the same with the items API call and it works, allowing me to iterate over all records by making calls to the API and changing the offset value.

Please advise...

Thanks,
Jonathan

tby...@gmail.com

unread,
Jul 26, 2017, 11:06:30 PM7/26/17
to Lightspeed Retail API Developers
Typographical error or is that how the call is being made?

https://api.merchantos.com/API/Account/<Account>/Customer&load_relations=["Contact","CustomFieldValues"]&offset=100

https://api.merchantos.com/API/Account/<Account>/Customer?load_relations=["Contact","CustomFieldValues"]&offset=100
Reply all
Reply to author
Forward
0 new messages