Avito XDelivery API

The XDelivery API from Avito — 7 operation(s) for xdelivery.

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

OpenAPI Specification

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

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

    '
  title: Иерархия Аккаунтов Access XDelivery API
  version: '1'
servers:
- url: https://api.avito.ru/
tags:
- name: XDelivery
  x-displayName: Кросс-доставка
  x-subdivName: Кросс-доставка
paths:
  /cancelAnnouncement:
    parameters:
    - $ref: '#/components/parameters/authHeader'
    post:
      description: 'Описание работы анонсов [здесь](https://developers.avito.ru/api-catalog/delivery-sandbox/documentation#info/anonsy).


        Метод реализуется на стороне службы доставки. Метод предназначен для отмены анонса.

        '
      operationId: CancelAnnouncement3PL
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnouncementsCancelRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnouncementsSuccessResponse'
          description: Response
        '401':
          $ref: '#/components/responses/DeliveryUnauthorized'
        '403':
          $ref: '#/components/responses/DeliveryForbidden'
        '500':
          $ref: '#/components/responses/DeliveryInternalServerError'
      security:
      - ClientCredentials: []
      summary: Отмена анонса в СД
      tags:
      - XDelivery
  /createAnnouncement:
    parameters:
    - $ref: '#/components/parameters/authHeader'
    post:
      description: 'Описание работы анонсов [здесь](https://developers.avito.ru/api-catalog/delivery-sandbox/documentation#info/anonsy).


        Метод реализуется на стороне службы доставки. Метод создает анонс о планируемой отгрузке из службы доставки, указанной в поле "sender", в службу доставки, указанную в поле "receiver".

        '
      operationId: CreateAnnouncement3PL
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnouncementsCreateRequest3PL'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnouncementsSuccessResponse'
          description: Response
        '401':
          $ref: '#/components/responses/DeliveryUnauthorized'
        '403':
          $ref: '#/components/responses/DeliveryForbidden'
        '500':
          $ref: '#/components/responses/DeliveryInternalServerError'
      security:
      - ClientCredentials: []
      summary: Создание анонса в СД
      tags:
      - XDelivery
  /delivery-sandbox/announcements/create:
    parameters:
    - $ref: '#/components/parameters/authHeader'
    post:
      description: 'Описание работы анонсов [здесь](https://developers.avito.ru/api-catalog/delivery-sandbox/documentation#info/anonsy).


        Создает анонс о планируемой отгрузке в Avito. После успешного создания анонс направляется в службу доставки указанную в поле "receiver".

        '
      operationId: CreateAnnouncement
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnouncementsCreateRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnouncementsSuccessResponse'
          description: Response
        '401':
          $ref: '#/components/responses/DeliveryUnauthorized'
        '403':
          $ref: '#/components/responses/DeliveryForbidden'
        '500':
          $ref: '#/components/responses/DeliveryInternalServerError'
      security:
      - ClientCredentials: []
      summary: Создание анонса в Avito
      tags:
      - XDelivery
  /delivery-sandbox/announcements/track:
    parameters:
    - $ref: '#/components/parameters/authHeader'
    post:
      description: 'Описание работы анонсов [здесь](https://developers.avito.ru/api-catalog/delivery-sandbox/documentation#info/anonsy).


        Метод для приема треков по анонсу от служб доставок.

        '
      operationId: TrackAnnouncement
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnouncementsTrackAnnouncementRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnouncementsSuccessResponse'
          description: Response
        '401':
          $ref: '#/components/responses/DeliveryUnauthorized'
        '403':
          $ref: '#/components/responses/DeliveryForbidden'
        '500':
          $ref: '#/components/responses/DeliveryInternalServerError'
      security:
      - ClientCredentials: []
      summary: Трекинг анонсов
      tags:
      - XDelivery
  /delivery-sandbox/sorting-center:
    parameters:
    - $ref: '#/components/parameters/authHeader'
    - description: Список кодов служб доставки, сортировочные центры которых необходимо вернуть
      in: query
      name: deliveryProviders
      required: true
      schema:
        type: string
    get:
      description: 'Возвращает сортировочные центы для переданных служб доставки


        ### Справочник служб доставки

        |    код    |    Название  |

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

        |   pochta  | Почта России |

        |   exmail  | ExMail       |

        |     bb    | Boxberyy     |

        |     pp    | PickPoint    |

        |    dpd    | DPD          |


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

        | http code |   error code                  |       error message                                      |

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

        |    200    | INVALID_QUERY_PARAMETERS      | Failed to convert entities: {error description}          |

        |    200    | INVALID_QUERY_PARAMETERS      | Failed to get entities from request: {error description} |

        |    500    | FAILED_TO_GET_SORTING_CENTERS | Failed to get sorting centers                            |

        '
      operationId: GetSortingCenter
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SortingCenterGet'
          description: OK
        '401':
          $ref: '#/components/responses/DeliveryUnauthorized'
        '403':
          $ref: '#/components/responses/DeliveryForbidden'
        '500':
          $ref: '#/components/responses/DeliveryInternalServerError'
      security:
      - ClientCredentials: []
      summary: Получить список сортировочных центров
      tags:
      - XDelivery
  /delivery-sandbox/tariffs/sorting-center:
    parameters:
    - $ref: '#/components/parameters/authHeader'
    post:
      description: "Создание задачи на загрузку своих сортировочных центров и первичная валидация данных.  \nПосле загрузки сортировочных центров им необходимо проставить тэги отдельным запросом  \n\nДанные необходимо загружать по мере обновления данных о сортировочных центрах (как правило это 1-2 раза в сутки)\n\n### Описание ошибок\n| http code |   error code                  |       error message                        |\n|-----------|-------------------------------|--------------------------------------------|\n|    200    | INVALID_ENTITY                | Failed to get sorting centers from request |\n|    200    | INVALID_ENTITY                | Empty sorting centers list                 |\n|    200    | INVALID_ENTITY                | Failed to convert sorting centers          |\n|    500    | FAILED_TO_ADD_SORTING_CENTERS | Failed to add sorting centers              |\n\nИтоговый результат операции необходимо проверять через:  \n[метод получения результата выполнения задачи](#operation/GetTask)\n"
      operationId: AddSortingCenter
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddSortingCentersRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddTaskReply'
          description: OK
        '401':
          $ref: '#/components/responses/DeliveryUnauthorized'
        '403':
          $ref: '#/components/responses/DeliveryForbidden'
        '500':
          $ref: '#/components/responses/DeliveryInternalServerError'
      security:
      - ClientCredentials: []
      summary: Загрузить сортировочные центры
      tags:
      - XDelivery
  /delivery-sandbox/tariffs/{tariff_id}/tagged-sorting-centers:
    parameters:
    - $ref: '#/components/parameters/authHeader'
    - description: id своего тарифа, теги которого будут установлены для сортировочных центров
      in: path
      name: tariff_id
      required: true
      schema:
        format: int32
        type: integer
    post:
      description: "Создание задачи на установку тэгов из своего тарифа своим и/или чужим сортировочным центрам.  \nВ рамках одного тарифа одному сортировочному центру может соответствовать только один тэг.  \nПерепривязка сортировочного центра к тэгу в рамках одного тарифа невозможна, в случае ошибочной привязки необходимо сообщить об этом своему менеджеру по логистике.   \n\n### Описание ошибок\n| http code |   error code                          |           error message                                      |\n|-----------|---------------------------------------|--------------------------------------------------------------|\n|    200    | INVALID_ENTITY                        | Failed to get tags from request                              |\n|    200    | INVALID_ENTITY                        | Empty tags list                                              |\n|    200    | INVALID_ENTITY                        | Failed to get tariff from path                               |\n|    200    | INVALID_ENTITY                        | Zero tariff_if in path                                       |\n|    200    | INVALID_ENTITY                        | Failed to convert tags                                       |\n|    500    | FAILED_TO_ADD_TAGS_TO_SORTING_CENTERS | Failed to add tags to sorting centers                        |\n\n\nИтоговый результат операции необходимо проверять через:  \n[метод получения результата выполнения задачи](#operation/GetTask)\n"
      operationId: AddTagsToSortingCenter
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TaggedSortingCenterRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddTaskReply'
          description: OK
        '401':
          $ref: '#/components/responses/DeliveryUnauthorized'
        '403':
          $ref: '#/components/responses/DeliveryForbidden'
        '500':
          $ref: '#/components/responses/DeliveryInternalServerError'
      security:
      - ClientCredentials: []
      summary: Установка тэгов своим и/или чужим сортировочным центрам
      tags:
      - XDelivery
components:
  schemas:
    TaggedSortingCenterRequest:
      items:
        $ref: '#/components/schemas/TaggedSortingCenter'
      type: array
    SortingCenterGet:
      properties:
        data:
          items:
            $ref: '#/components/schemas/SortingCenterGetData'
          nullable: true
          type: array
        error:
          properties:
            code:
              description: код ошибки
              example: fail
              title: код ошибки
              type: string
            message:
              description: человекопонятное описание ошибки
              example: something went wrong
              title: описание ошибки
              type: string
          required:
          - code
          - message
          type: object
      type: object
    AnnouncementsParcel3PL:
      properties:
        barcode:
          description: ШК посылки в системе получателя анонса
          example: '000012345'
          type: string
        id:
          description: Идентификатор посылки Авито в системе получателя анонса
          example: P000777
          type: string
        senderBarcode:
          description: ШК посылки в системе инициатора анонса
          example: '123450000'
          type: string
        senderID:
          description: Идентификатор посылки Авито в системе инициатора анонса
          example: P000776
          type: string
      required:
      - id
      - barcode
      type: object
    AddSortingCentersRequest:
      items:
        $ref: '#/components/schemas/SortingCenterPost'
      type: array
    SortingCenterPost:
      properties:
        address:
          $ref: '#/components/schemas/Address'
        deliveryProviderId:
          description: Уникальный идентификатор ХАБа на стороне службы доставки
          example: 1234-dffg
          maxLength: 64
          title: id ХАБа в службе доставки
          type: string
        itinerary:
          description: Описание как пройти/проехать
          example: Выход из последнего вагона, сначала прямо потом налево
          type: string
        name:
          description: Человекопонятное название ХАБа (будет использоваться в интефейсной части)
          example: 1234-dffg
          title: Название ХАБа
          type: string
        phones:
          $ref: '#/components/schemas/Delivery-phones'
        photos:
          description: 'Список ссылок на фотографии.

            <br />

            В случае если фотографий нет, следует передать пустой массив.

            '
          items:
            example: https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_92x30dp.png
            type: string
          type: array
        restriction:
          $ref: '#/components/schemas/Restriction'
        schedule:
          $ref: '#/components/schemas/Schedule'
      required:
      - deliveryProviderId
      - name
      - address
      - phones
      - itinerary
      - photos
      - directionTag
      - schedule
      - restriction
      type: object
    AnnouncementsCreateRequest:
      properties:
        announcementID:
          $ref: '#/components/schemas/UUID'
        announcementType:
          description: Тип анонса
          enum:
          - DELIVERY
          - PICKUP
          type: string
        barcode:
          description: Уникальный ШК анонса. Должен быть напечатан на бумажных сопроводительных документах (акте приема передачи). Данный ШК необходимо использовать для установки соответствия принимаемой партии грузомест/посылок с анонсом переданным в электронном виде через инфообмен
          example: 000987654321
          type: string
        date:
          allOf:
          - $ref: '#/components/schemas/DateWithTz'
          description: Дата и время создания анонса в формате RFC 3339 в UTC
        packages:
          description: Список грузомест
          items:
            allOf:
            - $ref: '#/components/schemas/AnnouncementPackage'
          type: array
        receiver:
          allOf:
          - $ref: '#/components/schemas/AnnouncementDeliveryParticipant'
          example:
            delivery:
              sortingCenter:
                accuracy: EXACT
                id: '19310'
                provider: exmail
              type: SORTING_CENTER
            email: mail@pochta.ru
            name: Почта России
            phones:
            - 8-800-300-00-00
            type: 3PL
        sender:
          allOf:
          - $ref: '#/components/schemas/AnnouncementDeliveryParticipant'
          example:
            delivery:
              sortingCenter:
                accuracy: EXACT
                id: '010'
                provider: exmail
              type: SORTING_CENTER
            email: mail@exmail.ru
            name: ExMail
            phones:
            - 8-800-200-00-00
            type: 3PL
      required:
      - announcementID
      - barcode
      - sender
      - receiver
      - announcementType
      - date
      - packages
      type: object
    DeliveryDayTimeInterval:
      description: Интервал времени внутри одного дня `hh:mm:ss/hh:mm:ss`
      example: 09:00:00/12:00:00
      type: string
    Schedule:
      description: "Значения интервала времени в течение дня должны быть в диапазоне от `00:00:00` до `23:59:59`.\nИнтервал работы после полуночи необходимо переносить в следующий день недели.\n\nПравильно:\n  - `\"fri\": [\"09:00:00/12:00:00\", \"13:00:00/18:00:00\"]` – расписание в пятницу с 9 до 18 с перерывом с 12 до 13\n  - `\"sun\": []` – выходной в воскресенье\n\nНеправильно:\n  - `\"mon\": [\"09:00/18:00\"]` – не хватает значения секунд\n  - `\"tue\": [\"09:00:00/01:00:00\"]` – интервал заходит на следующий день\n  - `\"wen\": [\"09:00:00/00:00:00\"]` – максимальное значение границы должно быть `23:59:59`\n"
      properties:
        fri:
          $ref: '#/components/schemas/DeliveryDayTimeIntervals'
        mon:
          $ref: '#/components/schemas/DeliveryDayTimeIntervals'
        sat:
          $ref: '#/components/schemas/DeliveryDayTimeIntervals'
        sun:
          $ref: '#/components/schemas/DeliveryDayTimeIntervals'
        thu:
          $ref: '#/components/schemas/DeliveryDayTimeIntervals'
        tue:
          $ref: '#/components/schemas/DeliveryDayTimeIntervals'
        wed:
          $ref: '#/components/schemas/DeliveryDayTimeIntervals'
      required:
      - mon
      - tue
      - wed
      - thu
      - fri
      - sat
      - sun
      type: object
    Delivery-phones:
      description: Список номеров телефонов
      items:
        example: 79ХXXXXXXX
        pattern: ^7[0-9]{10}$
        type: string
      type: array
    AnnouncementsPackage3PL:
      properties:
        id:
          description: Идентификатор грузоместа (ШК грузоместа)
          example: 000123456789
          type: string
        parcels:
          description: Список посылок
          items:
            $ref: '#/components/schemas/AnnouncementsParcel3PL'
          type: array
        sealID:
          description: Номер пломбы
          example: 1234-5678
          type: string
      required:
      - id
      - parcels
      type: object
    AddTaskReply:
      properties:
        data:
          nullable: true
          properties:
            taskId:
              description: "id задачи, по которому можно узнать результат выполнения операции используя \n[метод получения результата выполнения задачи](#operation/GetTask)\n"
              format: int64
              type: integer
          type: object
        error:
          nullable: true
          properties:
            code:
              description: код ошибки
              example: fail
              title: код ошибки
              type: string
            message:
              description: человекопонятное описание ошибки
              example: something went wrong
              title: описание ошибки
              type: string
          required:
          - code
          - message
          type: object
      type: object
    AnnouncementsTrackAnnouncementRequest:
      properties:
        announcementID:
          $ref: '#/components/schemas/UUID'
        date:
          allOf:
          - $ref: '#/components/schemas/DateWithTz'
          description: Дата события
        event:
          enum:
          - ACCEPTANCE_DONE
          - CANCELLED
          - DELIVERED
          - RECEIVED
          type: string
      required:
      - announcementID
      - date
      - event
      type: object
    TaggedSortingCenter:
      properties:
        deliveryProviderId:
          $ref: '#/components/schemas/SortingCenterID'
        directionTag:
          $ref: '#/components/schemas/Delivery-directionTag'
      required:
      - deliveryProviderId
      - directionTag
      type: object
    SortingCenterGetData:
      properties:
        address:
          $ref: '#/components/schemas/Address'
        deliveryProviderId:
          $ref: '#/components/schemas/SortingCenterID'
        itinerary:
          description: Описание как пройти/проехать
          example: Выход из последнего вагона, сначала прямо потом налево
          type: string
        name:
          description: Человекопонятное название ХАБа (будет использоваться в интефейсной части)
          example: 1234-dffg
          title: Название ХАБа
          type: string
        phones:
          $ref: '#/components/schemas/Delivery-phones'
        photos:
          description: Список ссылок на фотографии
          items:
            example: https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_92x30dp.png
            type: string
          type: array
        restriction:
          $ref: '#/components/schemas/Restriction'
        schedule:
          $ref: '#/components/schemas/Schedule'
      required:
      - deliveryProviderId
      - name
      - address
      - phones
      - itinerary
      - photos
      - schedule
      - restriction
      type: object
    DeliveryError4XX:
      nullable: true
      properties:
        message:
          description: Человекопонятное описание ошибки
          example: something went wrong
          title: Описание ошибки
          type: string
        status:
          description: false – в случае возникновения ошибки
          example: false
          title: статус
          type: boolean
      required:
      - code
      - message
      type: object
    Delivery-directionTag:
      description: "Тэг направления, к которому привязывается пункт_самовывоза / индекс (область доставки).\n<br />\nИспользуется для связки в направлениях тарифа. Поля:\n  - `directionTagFrom`\n  - `directionTagTo`\n"
      example: moscow-2020-12-12
      title: Тэг направления
      type: string
    AnnouncementsCancelRequest:
      properties:
        announcementID:
          $ref: '#/components/schemas/UUID'
        reason:
          description: Причина омены анонса
          enum:
          - CANCELED_BY_DELIVERY_PROVIDER
          - CANCELED_BY_AVITO
          type: string
      required:
      - announcementID
      type: object
    UUID:
      description: Уникальный UUID-идентификатор
      example: 55fefb84-fa30-47ee-bf29-9c860823ea79
      type: string
    DeliveryDayTimeIntervals:
      description: 'Список интервалов времени внутри одного дня, в формате - `hh:mm:ss/hh:mm:ss`

        Время локальное для региона загружаемых данных.

        '
      items:
        $ref: '#/components/schemas/DeliveryDayTimeInterval'
      type: array
    SortingCenterID:
      properties:
        deliveryProviderId:
          description: Уникальный идентификатор ХАБа на стороне службы доставки
          example: 1234-dffg
          maxLength: 64
          title: id ХАБа в службе доставки
          type: string
        provider:
          description: '### Справочник служб доставки

            |    код    |    Название  |

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

            |   pochta  | Почта России |

            |   exmail  | ExMail       |

            |     bb    | Boxberyy     |

            |     pp    | PickPoint    |

            |    dpd    | DPD          |

            '
          example: 7989jgftyf-jkghtd
          maxLength: 128
          minLength: 1
          title: код службы доставки в платформе Авито
          type: string
      type: object
    Restriction:
      properties:
        dimensionalFactor:
          description: "Используется при подсчете ограничения по объемному весу в пункте выдачи по формуле: Д * Ш * В / dimensionalFactor = объемный вес. \nЕсли задан maxDimensionalWeight, то dimensionalFactor должен быть обязательно передан.\n"
          example: 1000
          format: int32
          maximum: 100000
          minimum: 1000
          type: integer
        maxDeclaredCost:
          description: "Максимальное ограничения по объявленной стоимости товара, который можно получить/отправить в пункте выдачи. Значение указывается в копейках.  \nЕсли объявленная стоимость товара будет больше этого значения, Авито посчитает невозможным отправку/получение товара через этот пункт\nи не даст покупателю выбрать его как точку доставки/сдачи посылки.\n"
          example: 1000
          format: int32
          maximum: 15000000
          minimum: 1000
          type: integer
        maxDimensionalWeight:
          description: "Максимальное ограничения по объемному весу товара, который можно получить/отправить в пункте выдачи. \nЕсли объемный вес товара будет больше этого значения, Авито посчитает невозможным отправку/получение товара через этот пункт\nи не даст покупателю выбрать его как точку доставки/сдачи посылки.\n"
          example: 1000
          format: int32
          maximum: 100000000000
          minimum: 1000
          type: integer
        maxDimensions:
          description: "Максимальные ограничения по габаритам товара, который можно получить/отправить в пункте выдачи. Значение указывается в сантиметрах.  \nЕсли габариты товара будет больше этого значения, Авито посчитает невозможным отправку/получение товара через этот пункт\nи не даст покупателю выбрать его как точку доставки/сдачи посылки.\n"
          example:
          - 200
          - 50
          - 30
          items:
            format: int32
            maximum: 3000
            minimum: 0
            type: integer
          type: array
        maxWeight:
          description: "Максимальный вес товара, который можно получить или отправить в пункте выдачи. Значение указывается в граммах.  \nЕсли вес товара будет больше этого значения, Авито посчитает невозможным отправку/получение товара через этот пункт \nи не даст покупателю выбрать его как точку доставки/сдачи посылки.\n"
          example: 1000
          format: int32
          maximum: 100000000000
          minimum: 1000
          type: integer
      required:
      - maxWeight
      - maxDimensions
      - maxDeclaredCost
      type: object
    AnnouncementPackage:
      properties:
        id:
          description: Идентификатор грузоместа (ШК грузоместа)
          example: '0001234'
          type: string
        parcelIDs:
          description: Список посылок
          example:
          - P000123
          - P000345
          items:
            type: string
          type: array
        sealID:
          description: Номер пломбы
          example: 1234-5678
          type: string
      required:
      - id
      - parcelIDs
      type: object
    DateWithTz:
      example: '2023-09-20T10:00:00.52Z'
      type: string
    AnnouncementsCreateRequest3PL:
      properties:
        announcementID:
          $ref: '#/components/schemas/UUID'
        announcementType:
          description: Тип анонса
          enum:
          - DELIVERY
          - PICKUP
          type: string
        barcode:
          description: Уникальный ШК анонса. Должен быть напечатан на бумажных сопроводительных документах (акте приема передачи). Данный ШК необходимо использовать для установки соответствия принимаемой партии грузомест/посылок с анонсом п�

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