v6

latestOpenAPI 3.1.02026-07-311856741.1 MB
discounts
public

List Discounts

List discounts.

Scopes: discounts:read discounts:write

get/v1/discounts/

Query parameters

string uuid4

The organization ID.

OR
string[]
Example:1dbfc517-0bbf-4301-9ba8-555ca42b9737

Filter by organization ID.

querystring nullable

Filter by name.

Filter by name.

pageinteger

Page number, defaults to 1.

Page number, defaults to 1.

limitinteger

Size of a page, defaults to 10. Maximum is 100.

Size of a page, defaults to 10. Maximum is 100.

sortingDiscountSortProperty[] nullable

Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign - before the criteria name to sort by descending order.

Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign - before the criteria name to sort by descending order.

Response

Successful Response

Example response

{
  "items": [
    {
      "amount": 1000,
      "currency": "usd",
      "amounts": {
        "eur": 900,
        "usd": 1000
      },
      "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"
    }
  ]
}