Fetch purchase with discount
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.
- Authorisation setup with the correct scope, and a valid authorisation token. See Purchase concept.
Discounts can exist both on a specific row of items, and on the entire purchase. Discount on a row of items is
applied to the entire amount of the row, and can be set either as a percentage or as a fixed amount. Item row discounts
are applied first, and then the discount on the sum of the discounted row prices.
Example: This request returns a list of purchases with discounts applied. The example shows a purchase containing
two t-shirts with a 20% discount for one, and a fixed amount of 2000 in the minor currency unit. In addition, there is a
5% discount on the entire purchase.
Request
Response