Skip to content

Commit

Permalink
Revert "Add new field in_rating to order" (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohorev authored Jan 29, 2024
1 parent 0b867a0 commit 35c001e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
4 changes: 0 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# CHANGELOG

## 29.01.2024

* Добавлена информация (`in_rating`) учитывается ли заказ в рейтинге успешности в [блок с информацией о заказе](docs/order/index.md#описание-полей-ответа)

## 03.01.2024

* Добавлена информация (`permissions`) о правах доступа для удаления в [блок с информацией о заказе](docs/order/show.md#описание-полей-ответа)
Expand Down
3 changes: 0 additions & 3 deletions docs/order/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ Accept: application/json; charset=utf-8
"installment_info": null,
"total_quantity": 1,
"shop_comments_count": 0,
"in_rating": false,
"comment": "",
"product_names": [],
"permissions": {
Expand All @@ -133,7 +132,6 @@ Accept: application/json; charset=utf-8
"positions_count": 1,
"total_quantity": 1,
"shop_comments_count": 0,
"in_rating": false,
"promocode": null,
"order_cost": {
"amount": "27.00",
Expand Down Expand Up @@ -277,7 +275,6 @@ Accept: application/json; charset=utf-8
"positions_count": 1,
"total_quantity": 1,
"shop_comments_count": 0,
"in_rating": false,
"promocode": {
"id": 1,
"name": "test1"
Expand Down
13 changes: 3 additions & 10 deletions docs/order/show.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ Accept: application/json; charset=utf-8
"positions_count": 1,
"total_quantity": 1,
"shop_comments_count": 0,
"in_rating": false,
"order_cost": {
"amount": "21.00",
"currency": "BYN"
Expand Down Expand Up @@ -268,8 +267,7 @@ Accept: application/json; charset=utf-8
"status": "new",
"positions_count": 1,
"total_quantity": 1,
"shop_comments_count": 0,
"in_rating": false,
"shop_comments_count": 0,
"installment_info": null,
"order_cost": {
"amount": "21.00",
Expand Down Expand Up @@ -410,8 +408,7 @@ Accept: application/json; charset=utf-8
"status": "delivered",
"positions_count": 1,
"total_quantity": 1,
"shop_comments_count": 0,
"in_rating": false,
"shop_comments_count": 0,
"installment_info": {
"amount_per_month": {
"amount": "9.00",
Expand Down Expand Up @@ -636,7 +633,6 @@ Accept: application/json; charset=utf-8
"positions_count": 1,
"total_quantity": 1,
"shop_comments_count": 0,
"in_rating": false,
"comment": "Доставка с 9 до 18",
"permissions": {
"delete": false
Expand Down Expand Up @@ -813,8 +809,7 @@ Accept: application/json; charset=utf-8
"status": "delivered",
"positions_count": 1,
"total_quantity": 1,
"shop_comments_count": 0,
"in_rating": false,
"shop_comments_count": 0,
"installment_info": null,
"order_cost": {
"amount": "25.00",
Expand Down Expand Up @@ -997,7 +992,6 @@ Accept: application/json; charset=utf-8
"positions_count": 1,
"total_quantity": 1,
"shop_comments_count": 0,
"in_rating": false,
"order_cost": {
"amount": "21.00",
"currency": "BYN"
Expand Down Expand Up @@ -1193,7 +1187,6 @@ Accept: application/json; charset=utf-8
| installment_info.amount_per_month | money | Информация о сумме ежемесячного платежа |
| permissions | object | Права доступа для заказа |
| permissions.delete | bool | Можно ли удалить заказ |
| in_rating | bool | Флаг указывающий, учитывается ли заказ в рейтинге успешности |

#### Описание блока с информацией о ценовой позиции (каждый объект в массиве positions)

Expand Down

0 comments on commit 35c001e

Please sign in to comment.