Jump to content

Get request API , receipts, Customer


alsaba

Recommended Posts

Hi every one,

my requests are NOT available on the API documents ( https://developer.loyverse.com/docs/#tag/Receipts/paths/~1receipts/get )

I am working in a project ( Website to create orders and post the receipt to the POS through API and I need each customer to have and see his previous orders )

But I have some issues,

  • 1st. I need to get all receipts without limit of 250 receipts in each get http request like this example 

 https://api.loyverse.com/v1.0/receipts?&method=request.get&access_token=$"xxxx"&limit=250#

note: I know this demand will may cause a latency or some issue but I need your help and a solution to get all receipts by API

this link view only 250 receipts

  • 2nd. I need to get all receipts by customer ID { "customer_id"} ( IS NOT available on the API Doc ).
  • 3rd. I need PUT request (Update ) for  receipts in the key { "note": } ,,  because I need to give this key some values [{pending}, {approved}, {cancel} ]...

 

 

Link to comment
Share on other sites

  • 2 years later...
On 2/3/2022 at 4:51 AM, Jay Rock said:

Hello.

1) We support pagination for receiving all receipts https://developer.loyverse.com/docs/#section/Pagination

2) We don't have filter by customer_id, you can get all receipts, and filter only receipt with particular customer_id, or store somewhere all receipt numbers which belong to certain customer

3) We don't support editing already processed receipts, you need to find way around how to implement your business logic before sending receipt to loyverse api.

Hello, it's 2024 now, is it possible to list all receipts by customer_id ? this seems like a really simple addition yet I don't know why you can't have it. I have a problem because some receipt were not being pushed to my system through the webhook, so I have to query all receipts during the guest stay at the hotel (which could be a minimum of 5-6 nights) and that is a LOT, I have to parse around 40k - 60k lines of json just to find 1 or 2 missing receipt for certain guest. and the result weren't even consistent. sometime it would just time out, sometime it would work but only got 1 instead of 2, etc.

so I beg you please please please add the filter by customer_id please 😞

Link to comment
Share on other sites

Loyverse Point of Sale

 

 

 

 

×
×
  • Create New...