Cannot pull all receipts from API

ArleneArlene Member Posts: 4
Hi Experts,

I am trying to pull the transactions from one of my client's API. What could be the possible reason why i cannot capture all receipts. Ex. out of 365, i can only get 184 receipts.

Thank you.
Regards,
Arlene

Answers

  • hans_jvnhoohans_jvnhoo Member Posts: 1
    https://developers.lightspeedhq.com/resto-api/introduction/pagination/

    Arlene please refer to the link above. 
    Hope that help
  • ArleneArlene Member Posts: 4
    Hi Tim,

    Yes i am using the amount and offset parameter but still somehow getting incomplete transactions per day. Also made sure the offset parameter is enough to get all the transactions per day.

    Regards,
    Arlene
  • ArleneArlene Member Posts: 4
    Hi Hans,

    The pagination script is already applied in the source code but we couldn't still able to get the correct count of transactions per day.

    Regards,
    Arlene
  • ArleneArlene Member Posts: 4
    Hi Tim,

    For some accounts,anything before 11pm is not getting from API call like for this dates we have compared (01/11, 03/11, 04/11).
    However we are able to capture all receipts for this day which is 02/11.

    Regards,
    Arlene
Sign In or Register to comment.