WebTolk Joomla Extensions
113 Extensions
12 Categories
587 Versions released
920737 Downloads
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()public function getReadyOrders(array $request_options = []): array
POST /v2/photoDocumentLists orders with ready photos and archive links.
The library requires a nonempty array. The API supports period or order-list filters as applicable to the request.
Orders with ready photo archives.
<?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',
],
]);