---
title: "Find order discounts"
method: GET
path: "/Order/{orderId}/getDiscounts"
tags: ["Order"]
---

# Find order discounts

`GET /Order/{orderId}/getDiscounts`

Returns all discounts of an order

## Path parameters

- `orderId` integer, required

## Query parameters

- `limit` integer
- `offset` integer
- `embed` string[]

## Response `200`

Successful operation

- object
  - `objects` ModelDiscount[]
    - `id` string — the id of the discount
    - `objectName` string — Model name, which is 'Discounts'
    - `create` string, date-time — Date of discount creation
    - `update` string, date-time — Date of last discount update
    - `object` object — The order used for the discount
      - `id` string, required — Unique identifier of the order
      - `objectName` string, required — Model name, which is 'Order'
    - `sevClient` string — Client to which invoice belongs. Will be filled automatically
    - `text` string — A text describing your position.
    - `percentage` string — Defines if this is a percentage or an absolute discount
    - `value` string — Value of the discount
    - `isNet` string — Defines is the Discount net or gross 0 - gross 1 - net

## Other responses

- `400` — Bad request. order was not found
- `401` — Authentication required
- `500` — Server Error

---

[API](https://skmtc.net/sevdesk/apis/sevdesk-api.md) · [All operations](https://skmtc.net/sevdesk/apis/sevdesk-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sevdesk/sevdesk-api/revisions/a32cec0fecea/schema)
