Looking for an API endpoint for itemised bills

Hi - Is there an endpoint around which would return itemised bills and the customer attached to the bill? I want to use it in to add rewards points to Loopy Loyalty - ie when a customer orders a coffee it adds stamps to the digital wallet.

Hi @x_andrew welcome to the forums!

The Orders API will give you all itemized information from a transaction. As for the customer, depending on how the transaction took place, the customer_id may live on the order object or the payment object (in which case you’d need to use the Payments API). Please let me know if I misunderstood or if you have additional questions!