# Odstranění zastaralých polí

URL: https://shoptet.dev/news/api/odstraneni-zastaralych-poli

January 15, 2019 · One min read
Pavel Husa

K 15. 1. 2019 jsme odstranili zastaralá pole, ve většině případů je nahradily lépe pojmenované a srtukturované alternativy.

Byly odstraněny následující zastaralé položky z endpointů:

- endpoint `GET /api/orders/{code}`
- `price.includedVat`
- `price.excludedVat`
- `items[].price`
- `remark`
- endpoint `GET /api/invoices/{code}`
- `price.includedVat`
- `price.excludedVat`
- `items[].price`
- `items[].purchasePrice`
- `items[].includingVat`
- `items[].vatRate`
- `remark`
- endpoint `GET /api/proforma-invoices/{code}`
- `price.includedVat`
- `price.excludedVat`
- `items[].price`
- `items[].purchasePrice`
- `items[].includingVat`
- `items[].vatRate`
- `remark`
- endpoint `GET /api/credit-notes/{code}`
- `price.includedVat`
- `price.excludedVat`
- `items[].price`
- `items[].purchasePrice`
- `items[].includingVat`
- `items[].vatRate`
- `remark`
- endpoint `GET /api/orders`
- `price.includedVat`
- `price.excludedVat`
- endpoint `GET /api/invoices`
- `price.includedVat`
- `price.excludedVat`
- endpoint `GET /api/proforma-invoices`
- `price.includedVat`
- `price.excludedVat`
- endpoint `GET /api/credit-notes`
- `price.includedVat`
- `price.excludedVat`

**Tags:**
- [API](/news/tags/api/)
