> For the complete documentation index, see [llms.txt](https://apimoderan.gitbook.io/moderan-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apimoderan.gitbook.io/moderan-api/turnover-rent/turnover.md).

# Turnover

## Returns all retail turnovers

<mark style="color:blue;">`GET`</mark> `https://www.moderan.net/api/domains/DOMAIN_ID/propertysets/0/retailturnovers?startDate=2023-10-01&endDate=2023-10-31`

#### Path Parameters

| Name                                         | Type   | Description           |
| -------------------------------------------- | ------ | --------------------- |
| DOMAIN\_ID<mark style="color:red;">\*</mark> | String | Domain ID of customer |

#### Query Parameters

| Name                                        | Type   | Description                              |
| ------------------------------------------- | ------ | ---------------------------------------- |
| startDate<mark style="color:red;">\*</mark> | String | Start time of period (format DD.MM.YYYY) |
| endDate<mark style="color:red;">\*</mark>   | String | End time of period (format DD.MM.YYYY)   |

## Creates a new turnover entry

To get the **PROPETYSET\_ID** see:

{% content-ref url="/pages/PCjmXF7O1OPqK79KtS9u" %}
[Get Property sets](/moderan-api/assets/get-property-building-sets.md)
{% endcontent-ref %}

<mark style="color:green;">`POST`</mark> `https://www.moderan.net/api/domains/DOMAIN_ID/propertysets/PROPERTYSET_ID/retailturnovers`

#### Path Parameters

| Name                                               | Type   | Description           |
| -------------------------------------------------- | ------ | --------------------- |
| DOMAIN\_ID <mark style="color:red;">\*</mark>      | String | Domain ID of customer |
| PROPERTYSET\_ID <mark style="color:red;">\*</mark> | String | ID for Property set   |

### Example payload for POST

```
{
   "shopName":"Pineapple",
   "turnoverRentMonth": "2026-01-31",
   "turnoverRentAmount": 11000.00
}
```

## Updates a turnover entry

<mark style="color:orange;">`PUT`</mark> `https://www.moderan.net/api/domains/DOMAIN_ID/property/PROPERTYSET_ID/retailturnovers/TURNOVER_ID`

#### Path Parameters

| Name                                               | Type   | Description            |
| -------------------------------------------------- | ------ | ---------------------- |
| DOMAIN\_ID <mark style="color:red;">\*</mark>      | String | Domain ID of customer  |
| TURNOVER\_ID <mark style="color:red;">\*</mark>    | String | ID of updated turnover |
| PROPERTYSET\_ID <mark style="color:red;">\*</mark> | String | ID for Property set    |

### Example of payload for PUT

```
{
   "shopName":"Pineapple",
   "turnoverRentMonth": "2026-01-31",
   "turnoverRentAmount": 12000.00
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apimoderan.gitbook.io/moderan-api/turnover-rent/turnover.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
