---
title: "Retrieves all price agreements periods"
method: GET
path: "/v1/priceagreement/{id}/period"
tags: ["Get repricing agreements"]
---

# Retrieves all price agreements periods

`GET /v1/priceagreement/{id}/period`

This operation will return the full list of saved price agreements periods

## Path parameters

- `id` string, required

## Query parameters

- `auditUser` string, required
- `page` integer
- `size` integer

## Response `200`

Successfully retrieved

- PriceAgreementPeriod[]
  - `lowest` boolean — After all logic and repricing, should the lowest price apply. I.E the repriced one or the one coming from the merchant.
  - `priceListId` string — A reference to a price list, using the id of the price list
  - `code` string — Product code for this agreement period
  - `type` 'PER_EACH' | 'ABSOLUTE' | 'PERCENT' — Tells which kind of discount calculation that applies
  - `validFrom` string, date-time — The RFC 3339 format date and time from what time the price list should be active. Cannot be null
  - `validTo` string, date-time — The RFC 3339 format date and time when this price list should stop to be active. Cannot be greater than 'validFrom' of any other price list with the same 'code'. Can be null, which means this price list is active until this field is set
  - `value` number — The value connected to the `type` field above. This can be 45.4 PER_EACH, 5.0 PERCENT etc.
  - `id` string — The id of a price agreement period
  - `priceAgreementId` string — The primary key of the price agreement

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

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