erp

Создание чеков для заказа

post/create_checks/

Request

  • Base URL
    http://localhost:8000
  • Auth
    none declared

Request body

idinteger

ID заказа

priceinteger

Стоимость

addressstring

Адрес доставки

point_idstring

Точка на которой готовится заказ

Example request

{
  "id": 123456,
  "price": 780,
  "items": [
    {
      "name": "Вкусная пицца",
      "quantity": 2,
      "unit_price": 250
    },
    {
      "name": "Не менее вкусные роллы",
      "quantity": 1,
      "unit_price": 280
    }
  ],
  "address": "г. Уфа, ул. Ленина, д. 42",
  "client": {
    "name": "Иван",
    "phone": 9173332222
  },
  "point_id": 1
}

Response

Чеки успешно созданы

okstring

Changes

No recorded changes to this operation across all 1 revision of this API.