Avito DeliverySandbox API

The DeliverySandbox API from Avito — 9 operation(s) for deliverysandbox.

Operations 9

POST /delivery-sandbox/v1/cancelAnnouncement Отправка события об отмене тестового анонса #
POST /delivery-sandbox/v1/cancelParcel Отмена тестовой посылки #
POST /delivery-sandbox/v1/changeParcel Создание заявки на изменение данных тестовой посылки #
POST /delivery-sandbox/v1/createAnnouncement Создание тестового анонса #
POST /delivery-sandbox/v1/getAnnouncementEvent Получение последнего события тестового анонса #
POST /delivery-sandbox/v1/getChangeParcelInfo Получение информации об изменении тестовой посылки #
POST /delivery-sandbox/v1/getParcelInfo Получение информации о тестовой посылке #
POST /delivery-sandbox/v1/getRegisteredParcelID Получение ID зарегистрированной тестовой посылки #
POST /delivery-sandbox/v2/createParcel Создание тестовой посылки #

Documentation

📖
Documentation
https://developers.avito.ru/api-catalog/accounts-hierarchy/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/ads/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/auction/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/auth/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/autoload/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/autostrategy/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/autoteka/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/avito-promo/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/calltracking/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/cpa/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/cpxpromo/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/delivery-sandbox/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/item/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/job/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/messenger/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/order-management/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/promotion/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/ratings/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/realty-reports/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/sbc-gateway/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/stock-management/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/str/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/tariff/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/trxpromo/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/user/documentation

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/avito-deliverysandbox-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

avito-deliverysandbox-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: supportautoload@avito.ru
  description: 'API для взаимодействия с иерархией аккаунтов в Авито

    **Авито API для бизнеса предоставляется согласно [Условиям использования](https://www.avito.ru/legal/pro_tools/public-api).**

    '
  title: Иерархия Аккаунтов Access Delivery Sandbox API
  version: '1'
servers:
- url: https://api.avito.ru/
tags:
- name: DeliverySandbox
  x-displayName: Песочница
  x-subdivName: Песочница
paths:
  /delivery-sandbox/v1/cancelAnnouncement:
    parameters:
    - $ref: '#/components/parameters/authHeader'
    post:
      description: 'Метод доступен только в Песочнице.


        Описание работы анонсов [здесь](https://developers.avito.ru/api-catalog/delivery-sandbox/documentation#info/anonsy).


        Метод запускает процесс отмены тестового анонса.

        При успешном выполнении в ответе должен быть статус success. По предоставленному вами url (параметр options.urlToCancelAnnouncement)

        должно прийти сообщение об отмене анонса.


        ### Вариант использования

        Метод призван облегчить тестирование интеграции вашего API по обмену анонсами с Avito.

        В метод необходимо передать ID тестового анонса, созданного ранее посредством [метода создания тестового анонса](#operation/v1createAnnouncement).


        ### Описание ошибок

        | http code |   error code                |

        |-----------|-----------------------------|

        |    200    | VALIDATION_ERROR            |

        |    200    | ANNOUNCEMENT_NOT_FOUND      |

        |    500    | INTERNAL_ERROR              |

        '
      operationId: v1cancelAnnouncement
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SandboxCancelAnnouncementRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxCancelAnnouncementReply'
          description: Successful
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxCancelAnnouncementReply'
          description: Error
      security:
      - ClientCredentials: []
      summary: Отправка события об отмене тестового анонса
      tags:
      - DeliverySandbox
  /delivery-sandbox/v1/cancelParcel:
    parameters:
    - $ref: '#/components/parameters/authHeader'
    post:
      description: 'Метод доступен только в Песочнице.


        Метод инициирует [запрет приёма посылки](#operation/prohibitOrderAcceptance) в службе доставки и, если он состоялся, то посылка отменяется.

        Отменить можно только те посылки, которые были созданы с помощью [метода создания тестовой посылки](#operation/v1createParcel).


        По умолчанию запрос на запрет приема посылки будет отправлен в мок. Чтобы изменить это поведение и получить запрос у себя в системе,

        воспользуйтесь параметром `options.cancelationUrl`.

        '
      operationId: v1CancelParcel
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CancelSandxobParcelRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CancelSandboxParcelReply'
          description: Successful
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CancelSandboxParcelError'
          description: Error
      security:
      - ClientCredentials: []
      summary: Отмена тестовой посылки
      tags:
      - DeliverySandbox
  /delivery-sandbox/v1/changeParcel:
    parameters:
    - $ref: '#/components/parameters/authHeader'
    post:
      description: 'Метод доступен только в Песочнице.


        Описание механики изменения посылок [здесь](https://developers.avito.ru/api-catalog/delivery-sandbox/documentation#info/izmenenie_svoystv_posylok).


        Метод создаёт заявку на изменение данных посылки. Например, на изменение ФИО и телефона получателя.


        По умолчанию запрос на создание заявки не будет отправлен в вашу систему. Чтобы это произошло, необходимо

        заполнить параметр options.changeParcelUrl.

        '
      operationId: v1changeParcel
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChangeParcelRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChangeParcelReply'
          description: Successful
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChangeParcelError'
          description: Error
      security:
      - ClientCredentials: []
      summary: Создание заявки на изменение данных тестовой посылки
      tags:
      - DeliverySandbox
  /delivery-sandbox/v1/createAnnouncement:
    parameters:
    - $ref: '#/components/parameters/authHeader'
    post:
      description: "Метод доступен только в Песочнице.\n\nОписание работы анонсов [здесь](https://developers.avito.ru/api-catalog/delivery-sandbox/documentation#info/anonsy).\n\nМетод запускает процесс создания тестового анонса.\nПри успешном выполнении в ответе должен быть статус success, а предоставленный анонс должен прийти по указанному \nвами URL (параметр options.urlToSendAnnouncement).\n\nПри формировании тестового анонса необходимо указать ID тестовых посылок (параметр packages.parcelIDs). \nID тестовых посылок можно узнать при помощи двух методов [создания тестовой посылки](#operation/v1createParcel)\nи [получения ее ID](#operation/v1getRegisteredParcelID). Обращаем внимание, что для тестирования приема входящих\nанонсов необходимо создать кросс-доставочную посылку (в параметре options.xDelivery.leg выставить флаг X_DELIVERY_LAST_LEG).\n\n### Вариант использования\nМетод призван облегчить тестирование интеграции вашего API по обмену анонсами с Avito.\nВ метод необходимо передать ID посылки, а для этого её нужно создать. Таким образом, шаги будут выглядеть примерно так:\n<ol>\n  <li>Вызываем метод создания тестовой посылки. Получаем orderID.</li>\n  <li>С полученным orderID вызываем метод получения ID тестовой посылки.</li>\n  <li>С полученным ID посылки делаем запрос на создание анонса.</li>\n</ol>\n\n### Описание ошибок\n| http code |   error code       |\n|-----------|--------------------|\n|    200    | VALIDATION_ERROR   |\n|    200    | OBJECT_EXISTS      |\n|    500    | INTERNAL_ERROR     |\n"
      operationId: v1createAnnouncement
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SandboxCreateAnnouncementRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxCreateAnnouncementReply'
          description: Successful
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxCreateAnnouncementReply'
          description: Error
      security:
      - ClientCredentials: []
      summary: Создание тестового анонса
      tags:
      - DeliverySandbox
  /delivery-sandbox/v1/getAnnouncementEvent:
    parameters:
    - $ref: '#/components/parameters/authHeader'
    post:
      description: "Метод доступен только в Песочнице.\n\nОписание работы анонсов [здесь](https://developers.avito.ru/api-catalog/delivery-sandbox/documentation#info/anonsy).\n\nМетод позволяет проверить последнее зарегистрированное событие по анонсу.\n\n### Вариант использования\nМетод призван облегчить тестирование интеграции вашего api по обмену анонсами с Avito.\nМетод можно использовать в связке с [методом отмены анонса](#operation/v1cancelAnnouncement) для проверки того, что \nпоследнее событие тестового анонса изменилось.\n\n### Описание ошибок\n| http code |   error code                |\n|-----------|-----------------------------|\n|    200    | VALIDATION_ERROR            |\n|    200    | ANNOUNCEMENT_NOT_FOUND      |\n|    500    | INTERNAL_ERROR              |\n"
      operationId: v1getAnnouncementEvent
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SandboxGetAnnouncementEventRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxGetAnnouncementEventReply'
          description: Successful
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxGetAnnouncementEventReply'
          description: Error
      security:
      - ClientCredentials: []
      summary: Получение последнего события тестового анонса
      tags:
      - DeliverySandbox
  /delivery-sandbox/v1/getChangeParcelInfo:
    parameters:
    - $ref: '#/components/parameters/authHeader'
    post:
      description: 'Метод доступен только в Песочнице.


        Описание механики изменения посылок [здесь](https://developers.avito.ru/api-catalog/delivery-sandbox/documentation#info/izmenenie_svoystv_posylok).


        Метод возвращает информацию о заявке на изменение данных тестовой посылки. Информацию можно получить только по тем заявкам

        которые были созданы с помощью [метода создания заявки на изменение данных](#operation/v1changeParcel).

        '
      operationId: v1getChangeParcelInfo
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetChangeParcelInfoRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetChangeParcelInfoReply'
          description: Successful
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetChangeParcelInfoError'
          description: Error
      security:
      - ClientCredentials: []
      summary: Получение информации об изменении тестовой посылки
      tags:
      - DeliverySandbox
  /delivery-sandbox/v1/getParcelInfo:
    parameters:
    - $ref: '#/components/parameters/authHeader'
    post:
      description: 'Метод доступен только в Песочнице.


        Метод возвращает информацию о тестовой посылке. Информацию можно получить только по тем посылкам

        которые были созданы с помощью [метода создания тестовой посылки](#operation/v1createParcel).

        '
      operationId: v1getParcelInfo
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetSandboxParcelInfoRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSandboxParcelInfoReply'
          description: Successful
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSandboxParcelInfoError'
          description: Error
      security:
      - ClientCredentials: []
      summary: Получение информации о тестовой посылке
      tags:
      - DeliverySandbox
  /delivery-sandbox/v1/getRegisteredParcelID:
    parameters:
    - $ref: '#/components/parameters/authHeader'
    post:
      description: 'Метод доступен только в Песочнице.


        Метод возвращает идентификатор зарегистрированной тестовой посылки, созданной с помощью

        [метода создания тестовой посылки](#operation/v1createParcel).


        Вариант использования метода см. в описании [метода создания тестовой посылки](#operation/v1createParcel)


        ### Описание ошибок

        | http code |   error code       |       error message          |

        |-----------|--------------------|------------------------------|

        |    200    | NOT_FOUND          | parcel not found             |

        |    200    | NOT_REGISTERED     | parcel not registered yet    |

        |    200    | VALIDATION_ERROR   | wrong orderID format         |

        |    500    | INTERNAL_ERROR     | get parcel id failed         |

        '
      operationId: v1getRegisteredParcelID
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetRegisteredParcelIDRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetRegisteredParcelIDReply'
          description: Successful
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetRegisteredParcelIDError'
          description: Error
      security:
      - ClientCredentials: []
      summary: Получение ID зарегистрированной тестовой посылки
      tags:
      - DeliverySandbox
  /delivery-sandbox/v2/createParcel:
    parameters:
    - $ref: '#/components/parameters/authHeader'
    post:
      description: 'Метод доступен только в Песочнице.


        Метод запускает процесс создания тестовой посылки.


        Описание механики работы и дополнительные требования см. [здесь](#info/sozdanie_testovyh_posylok).


        ### Описание ошибок

        | http code |   error code       |       error message          |

        |-----------|--------------------|------------------------------|

        |    200    | UNKNOWN_PROVIDER   | unknown provider             |

        |    200    | VALIDATION_ERROR   | invalid request              |

        |    200    | LIMIT_REACHED      | create parcels limit reached |

        |    500    | INTERNAL_ERROR     | create parcel error          |

        '
      operationId: CreateSandboxParcelV2
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSandboxParcelV2'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateParcelReply'
          description: Successful
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateSandboxParcelError'
          description: Error
      security:
      - ClientCredentials: []
      summary: Создание тестовой посылки
      tags:
      - DeliverySandbox
components:
  schemas:
    SandboxGetAnnouncementEventReply:
      properties:
        data:
          properties:
            announcementEvent:
              description: Последнее событие анонса.
              type: string
          type:
          - object
          - 'null'
        error:
          $ref: '#/components/schemas/SandboxGetAnnouncementEventError'
      type: object
    CreateSandboxParcelReceiverDelivery:
      properties:
        courier:
          $ref: '#/components/schemas/CreateParcelDeliveryCourier'
        terminal:
          $ref: '#/components/schemas/CreateParcelUserDeliveryTerminal'
      title: Данные по доставке
      type: object
    SandboxCreateAnnouncementError:
      properties:
        code:
          enum:
          - VALIDATION_ERROR
          - INTERNAL_ERROR
          - OBJECT_EXISTS
          type: string
        message:
          type: string
      required:
      - code
      - message
      type:
      - object
      - 'null'
    CreateParcelCourierCoordinates:
      description: Координаты пользователя
      properties:
        latitude:
          description: Географическая широта, в градусах.
          example: 55.779003
          maximum: 90
          minimum: -90
          type: number
        longitude:
          description: Географическая долгота, в градусах.
          example: 37.591746
          maximum: 180
          minimum: -180
          type: number
      required:
      - latitude
      - longitude
    CreateParcelError:
      description: 'Ошибка создания посылки.


        Поле присутствует, если запрос не был успешно обработан. Если запрос был успешно обработан, то поле отсутствует.

        '
      properties:
        code:
          description: "Код ошибки.\n\n- `VALIDATION_ERROR` – ошибка валидации данных (например, длина передаваемого поля превышает допустимые лимиты, или какое-то поле отсутствует). \nВ поле `error.message` должно содержаться пояснение, какое поле не прошло валидацию.\n- `UNSUPPORTED_PARAM_ERROR` – в запросе получен неподдерживаемый параметр. В поле `error.message` должно содержаться пояснение, какое поле не поддерживается.\n- `TERMINAL_UNAVAILABLE` – терминал, указанный в запросе, недоступен для создания посылки. В поле `error.message` должно содержаться пояснение причины недоступности терминала.\n- `SORTING_CENTER_UNAVAILABLE` – сортировочный центр, указанный в запросе, недоступен для создания посылки. В поле error.message должно содержаться пояснение причины недоступности сортировочного центра.\n\nВсе перечисленные ошибки – \"терминальные\". \nПри получении этих ошибок Avito не будет выполнять повторные запросы, т.к. повтор приведет к тому же результату.\n\nСписок в дальнейшем может пополняться.\n"
          enum:
          - VALIDATION_ERROR
          - UNSUPPORTED_PARAM_ERROR
          - TERMINAL_UNAVAILABLE
          - SORTING_CENTER_UNAVAILABLE
          example: VALIDATION_ERROR
          type: string
        message:
          description: Текстовое описание ошибки
          example: Текст ошибки
          type: string
      required:
      - code
      - message
      type: object
    ChangeParcelRequestApplication:
      properties:
        kind:
          enum:
          - buyer
          - seller
          title: Инициатор заявки на изменение ФИО и номера телефона. Покупатель или продавец.
          type: string
        name:
          title: Новые ФИО получателя посылки
          type: string
        phones:
          items:
            type: string
          title: Новые телефоны получателя посылки
          type: array
      title: Заявка на изменение данных
      type: object
    CreateParcelCourierOptions:
      properties:
        comment:
          description: Комментарий для курьера, оставленный пользователем.
          example: Комментарий для курьера
          type: string
        elevatorAvailable:
          description: Наличие лифта в доме, способного поднять посылку.
          example: true
          type: boolean
      type: object
    ChangeParcelError:
      properties:
        code:
          enum:
          - VALIDATION_ERROR
          - INTERNAL_ERROR
          - UNSUITABLE_PARCEL
          - PARCEL_NOT_FOUND
          type: string
        message:
          type: string
      required:
      - code
      type:
      - object
      - 'null'
    CancelSandxobParcelRequest:
      properties:
        options:
          $ref: '#/components/schemas/CancelSandboxParcelOptions'
        parcelID:
          type: string
      required:
      - parcelID
      type: object
    SandboxCreateAnnouncementReply:
      properties:
        data:
          properties:
            status:
              description: Статус выполнения операции.
              enum:
              - success
              - failed
              type: string
          type:
          - object
          - 'null'
        error:
          $ref: '#/components/schemas/SandboxCreateAnnouncementError'
      type: object
    CreateSandboxParcelUserDelivery:
      properties:
        terminal:
          $ref: '#/components/schemas/CreateParcelUserDeliveryTerminal'
      title: Данные по доставке
      type: object
    GetSandboxParcelInfoParcelHistory:
      properties:
        date:
          format: date-time
          type: string
        event:
          type: string
        location:
          type:
          - string
          - 'null'
        status:
          type: string
      type: object
    CreateParcelCourierAddress:
      description: Адрес пользователя
      properties:
        addressRow:
          description: Адрес, выбранный пользователем.
          example: Москва, ул. Лесная, 20с2
          type: string
        coordinates:
          $ref: '#/components/schemas/CreateParcelCourierCoordinates'
        details:
          $ref: '#/components/schemas/CreateParcelCourierAddressDetails'
      required:
      - addressRow
      - details
      - coordinates
      type: object
    GetSandboxParcelInfoTerminals:
      properties:
        approximate:
          title: Расчетный терминал
          type: string
        real:
          title: Реальный терминал
          type:
          - string
          - 'null'
      type: object
    GetChangeParcelInfoRequest:
      properties:
        applicationID:
          title: Идентификатор заявки на изменение данных посылки
          type: string
      required:
      - applicationID
      type: object
    GetChangeParcelInfoReply:
      properties:
        data:
          $ref: '#/components/schemas/GetChangeParcelInfoReplyData'
        error:
          $ref: '#/components/schemas/GetChangeParcelInfoError'
      type: object
    CreateParcelCourierAddressDetails:
      description: 'Детали адреса курьерской доставки.

        '
      properties:
        flat:
          description: Номер квартиры.
          example: '23'
          type: string
        floor:
          description: Номер этажа.
          example: '4'
          type: string
        house:
          description: Номер дома, корпуса, строения пользователя.
          example: 20с2
          type: string
        porch:
          description: Номер подъезда.
          example: '2'
          type: string
      required:
      - house
      - porch
      - floor
      - flat
    CreateSandboxV2Options:
      properties:
        registrationUrl:
          description: На заданный URL будет отправлен запрос на регистрацию посылки
          type: string
      type: object
    GetSandboxParcelInfoReplyData:
      properties:
        dimensions:
          $ref: '#/components/schemas/GetSandboxParcelInfoDimensions'
        history:
          items:
            $ref: '#/components/schemas/GetSandboxParcelInfoParcelHistory'
          title: История статусов посылки
          type: array
        receiver:
          properties:
            terminals:
              $ref: '#/components/schemas/GetSandboxParcelInfoTerminals'
          title: Информация о получателе
          type: object
        sender:
          properties:
            terminals:
              $ref: '#/components/schemas/GetSandboxParcelInfoTerminals'
          title: Информация об отправителе
          type: object
        status:
          title: Текущий статус посылки
          type: string
      type:
      - object
      - 'null'
    GetSandboxParcelInfoReply:
      properties:
        data:
          $ref: '#/components/schemas/GetSandboxParcelInfoReplyData'
        error:
          $ref: '#/components/schemas/GetSandboxParcelInfoError'
      type: object
    CreateSandboxParcelV2:
      properties:
        items:
          items:
            $ref: '#/components/schemas/CreateSandboxParcelItem'
          type: array
        options:
          $ref: '#/components/schemas/CreateSandboxV2Options'
        receiver:
          properties:
            delivery:
              $ref: '#/components/schemas/CreateSandboxParcelReceiverDelivery'
          type: object
        sender:
          properties:
            delivery:
              $ref: '#/components/schemas/CreateSandboxParcelUserDelivery'
            inn:
              description: ИНН пользователя, будет работать при tag - B2C.
              type: string
          type: object
        tags:
          items:
            type: string
          type: array
      type: object
    SandboxCreateAnnouncementParticipant:
      properties:
        delivery:
          properties:
            sortingCenter:
              $ref: '#/components/schemas/SandboxCreateAnnouncementDeliveryPoint'
            terminal:
              $ref: '#/components/schemas/SandboxCreateAnnouncementDeliveryPoint'
            type:
              description: Тип пункта отправки/приема.
              enum:
              - TERMINAL
              - SORTING_CENTER
              type: string
          required:
          - type
          type: object
        email:
          description: Электронная почта участника.
          type: string
        name:
          description: Наименование участника доставки (отправителя/получателя).
          type: string
        phones:
          description: Контактные телефоны.
          items:
            type: string
          type: array
        type:
          description: Тип участника доставки (отправителя/получателя).
          enum:
          - 3PL
          - ABD
          type: string
      required:
      - type
      - phones
      - email
      - name
      - delivery
      type: object
    SandboxCancelAnnouncementRequest:
      properties:
        announcementID:
          description: Уникальный идентификатор анонса UUID V4.
          format: uuid
          type: string
        date:
          description: Дата события
          example: '2023-09-20T10:00:00.52Z'
          format: date-time
          type: string
        options:
          $ref: '#/components/schemas/SandboxCancelAnnouncementOptions'
      required:
      - options
      - announcementID
      - date
      type: object
    SandboxCreateAnnouncementOptions:
      description: Опции анонса.
      properties:
        urlToSendAnnouncement:
          description: URL, куда отправлять сформированный анонс.
          type: string
      required:
      - urlToSendAnnouncement
      type: object
    ChangeParcelRequest:
      properties:
        application:
          $ref: '#/components/schemas/ChangeParcelRequestApplication'
        options:
          $ref: '#/components/schemas/ChangeParcelRequestOptions'
        parcelID:
          title: Идентификатор посылки.
          type: string
        type:
          enum:
          - changeReceiver
          - prohibitParcelReceive
          - extendParcelStorage
          - prohibitParcelAcceptance
          title: Тип заявки, которую необходимо зарегистрировать.
          type: string
      required:
      - type
      - parcelID
      type: object
    SandboxCancelAnnouncementOptions:
      description: Опции отмены анонса.
      properties:
        urlToCancelAnnouncement:
          description: URL, куда отправлять отмену анонса.
          type: string
      required:
      - urlToCancelAnnouncement
      type: object
    CreateSandboxParcelItem:
      properties:
        breadcrumbs:
          items:
            $ref: '#/components/schemas/CreateParcelItemBreadcrumb'
          type: array
        cost:
          type: integer
        description:
          type: string
        dimensions:
          description: 'Габариты товара в сантиметрах. Порядок [ширина, высота, длина]. Например, [15, 25, 35].

            '
          properties:
            values:
              items:
                type: integ

# --- truncated at 32 KB (43 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/avito/refs/heads/main/openapi/avito-deliverysandbox-api-openapi.yml