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.
Request
Response
The response contains two objects for purchase: one for the original purchase and the other for the refund. They are
linked with the UUID
6a7d7a9c-efd8-4a93-b0ff-45d55d212774
.A successful request returns Status: 200 OK.