PhotoDocumentEntity: CDEK photo service in Joomla

WT CDEK library - Documentation
Category: Libraries

PhotoDocumentEntity in WT CDEK for Joomla covers orders with photo archives ready to download. This reference explains its purpose, parameters and PHP examples for Joomla extensions.

PhotoDocumentEntity retrieves orders whose photo-service archives are ready to download.

Access the entity through the Cdek facade:

$photoDocument = $cdek->photoDocument();

getReadyOrders()

Signature

public function getReadyOrders(array $request_options = []): array

REST API

  • POST /v2/photoDocument

Purpose

Lists orders with ready photos and archive links.

Parameters

The library requires a nonempty array. The API supports period or order-list filters as applicable to the request.

Returns

Orders with ready photo archives.

Example

<?php

declare(strict_types=1);

use Webtolk\Cdekapi\Cdek;

defined('_JEXEC') or die;

$cdek = new Cdek();

$result = $cdek->photoDocument()->getReadyOrders([
    'date' => [
        'from' => '2026-04-01',
        'to'   => '2026-04-17',
    ],
]);

Overview and getting started

WT CDEK 1.4.0 source code on GitHub

WebTolk Joomla Extensions

113 Extensions
12 Categories
587 Versions released
920737 Downloads