Fetch purchase with refund
Use the Purchase API to fetch purchase information from purchases made with Zettle. For example, the purchase information is consumed in integrations with accounting systems and inventory updates. The following examples illustrate how to work with purchases and refunds.
- Authorisation setup with the correct scope, and a valid authorisation token. See Purchase concept.
Refunds are represented by the same information model as for purchases, but with negative quantity. There are also specific refund-related flags and fields, see Purchase concept.
Example: This request returns a list of purchases with partial refunds.
The response contains two objects for purchase: one for the original purchase and the other for the refund. They are linked with the UUID
A successful request returns Status: 200 OK.