All URIs are relative to https://cargomart.ru.
Method | HTTP request | Description |
---|---|---|
apiV2OrderOrderIdAfeerExpressPost() | POST /api/v2/order/{orderId}/afeer-express | Подтверждение везти экспресс - заказ |
apiV2OrderOrderIdArchivePost() | POST /api/v2/order/{orderId}/archive | Добавление заказа в архив. |
apiV2OrderOrderIdBidGet() | GET /api/v2/order/{orderId}/bid | получение списка ставок на заказ. |
apiV2OrderOrderIdBidLastGet() | GET /api/v2/order/{orderId}/bid/last | Получение последней информации связанной с торгами. |
apiV2OrderOrderIdBidPost() | POST /api/v2/order/{orderId}/bid | Установка ставки на заказ. |
apiV2OrderOrderIdBrokerDelete() | DELETE /api/v2/order/{orderId}/broker | Удвление брокера с заказа. |
apiV2OrderOrderIdBrokerGet() | GET /api/v2/order/{orderId}/broker | Получение брокера на заказ. |
apiV2OrderOrderIdBrokerPut() | PUT /api/v2/order/{orderId}/broker | Установка брокера на заказ. |
apiV2OrderOrderIdCancelPost() | POST /api/v2/order/{orderId}/cancel | Отмена опубликованного заказа. |
apiV2OrderOrderIdCarrierSignPost() | POST /api/v2/order/{orderId}/carrier-sign | Подписать взятие заказа перевозчиком |
apiV2OrderOrderIdCheckDigitalEcnAccessGet() | GET /api/v2/order/{orderId}/check-digital-ecn-access | Проверка доступа к созданию Электронной ТРН. |
apiV2OrderOrderIdEcnGet() | GET /api/v2/order/{orderId}/ecn | Получение списка ЭТрН у заказа |
apiV2OrderOrderIdEcnPost() | POST /api/v2/order/{orderId}/ecn | Создание ЭТрН для заказа. |
apiV2OrderOrderIdEcnTemplateGet() | GET /api/v2/order/{orderId}/ecn-template | Скачать транспортную накладную (подготовить ссылку на скачивание) |
apiV2OrderOrderIdFixPriceGet() | GET /api/v2/order/{orderId}/fix-price | Зафиксировать цену заказа |
apiV2OrderOrderIdGet() | GET /api/v2/order/{orderId} | Получение информации для карточки заказа. |
apiV2OrderOrderIdItineraryGet() | GET /api/v2/order/{orderId}/itinerary | Получение данных по точкам маршрута. |
apiV2OrderOrderIdNegotiatePost() | POST /api/v2/order/{orderId}/negotiate | Изменение заказчиком условий заказа, чтобы ближе соответствовать поступившим предложениям от перевозчиков |
apiV2OrderOrderIdOfferGet() | GET /api/v2/order/{orderId}/offer | получение списка предложений на заказ. |
apiV2OrderOrderIdOfferPost() | POST /api/v2/order/{orderId}/offer | Установка предложения на заказ. |
apiV2OrderOrderIdOriginalDocsAcceptPost() | POST /api/v2/order/{orderId}/original-docs-accept | Подтвердить принятие оригиналов документов. |
apiV2OrderOrderIdOriginalDocsRejectPost() | POST /api/v2/order/{orderId}/original-docs-reject | Отклонить оригиналы документов. |
apiV2OrderOrderIdOriginalDocsTrackingNumberPost() | POST /api/v2/order/{orderId}/original-docs-tracking-number | Указать трек номер отправленных документов. |
apiV2OrderOrderIdPinDelete() | DELETE /api/v2/order/{orderId}/pin | Удаление заказа из списка закрепленных. |
apiV2OrderOrderIdPinGet() | GET /api/v2/order/{orderId}/pin | Получить список пользователей закрепивших заказ |
apiV2OrderOrderIdPinPost() | POST /api/v2/order/{orderId}/pin | Добавление заказа в список закрепленных. |
apiV2OrderOrderIdSignPost() | POST /api/v2/order/{orderId}/sign | Подписаться на заказ |
apiV2OrderOrderIdSignedDocumentGet() | GET /api/v2/order/{orderId}/signed-document | Получение документов заказа со списком титулов |
apiV2OrderOrderIdSimpleDocumentGet() | GET /api/v2/order/{orderId}/simple-document | Получение документов заказа со списком титулов |
apiV2OrderOrderIdUnarchivePost() | POST /api/v2/order/{orderId}/unarchive | Возврат заказа из архива. |
apiV2OrderOrderIdValidateEcnDataPost() | POST /api/v2/order/{orderId}/validate-ecn-data | Проверка данных ЭТрН заказа перед созданием. |
apiV2OrderOrderIdVisitorGet() | GET /api/v2/order/{orderId}/visitor | Получить список пользователей открывавших карточку заказа |
apiV2OrderOrderIdAfeerExpressPost($order_id): \MagDv\Cargomart\Dto\OrderCardResponse
Подтверждение везти экспресс - заказ
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
try {
$result = $apiInstance->apiV2OrderOrderIdAfeerExpressPost($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdAfeerExpressPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. |
\MagDv\Cargomart\Dto\OrderCardResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdArchivePost($order_id): \MagDv\Cargomart\Dto\OrderCardResponse
Добавление заказа в архив.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор заказа
try {
$result = $apiInstance->apiV2OrderOrderIdArchivePost($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdArchivePost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор заказа |
\MagDv\Cargomart\Dto\OrderCardResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdBidGet($order_id): \MagDv\Cargomart\Dto\BidListResponse
получение списка ставок на заказ.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
try {
$result = $apiInstance->apiV2OrderOrderIdBidGet($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdBidGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. |
\MagDv\Cargomart\Dto\BidListResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdBidLastGet($order_id): \MagDv\Cargomart\Dto\BidLastResponse
Получение последней информации связанной с торгами.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
try {
$result = $apiInstance->apiV2OrderOrderIdBidLastGet($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdBidLastGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. |
\MagDv\Cargomart\Dto\BidLastResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdBidPost($order_id, $bid_push_request): \MagDv\Cargomart\Dto\BidLastResponse
Установка ставки на заказ.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
$bid_push_request = new \MagDv\Cargomart\Dto\BidPushRequest(); // \MagDv\Cargomart\Dto\BidPushRequest
try {
$result = $apiInstance->apiV2OrderOrderIdBidPost($order_id, $bid_push_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdBidPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. | |
bid_push_request | \MagDv\Cargomart\Dto\BidPushRequest |
\MagDv\Cargomart\Dto\BidLastResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdBrokerDelete($order_id)
Удвление брокера с заказа.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
try {
$apiInstance->apiV2OrderOrderIdBrokerDelete($order_id);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdBrokerDelete: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. |
void (empty response body)
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdBrokerGet($order_id): \MagDv\Cargomart\Dto\BrokerResponse
Получение брокера на заказ.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
try {
$result = $apiInstance->apiV2OrderOrderIdBrokerGet($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdBrokerGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. |
\MagDv\Cargomart\Dto\BrokerResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdBrokerPut($order_id, $broker_put_request): \MagDv\Cargomart\Dto\BrokerResponse
Установка брокера на заказ.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
$broker_put_request = new \MagDv\Cargomart\Dto\BrokerPutRequest(); // \MagDv\Cargomart\Dto\BrokerPutRequest
try {
$result = $apiInstance->apiV2OrderOrderIdBrokerPut($order_id, $broker_put_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdBrokerPut: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. | |
broker_put_request | \MagDv\Cargomart\Dto\BrokerPutRequest |
\MagDv\Cargomart\Dto\BrokerResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdCancelPost($order_id): \MagDv\Cargomart\Dto\OrderCardResponse
Отмена опубликованного заказа.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
try {
$result = $apiInstance->apiV2OrderOrderIdCancelPost($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdCancelPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. |
\MagDv\Cargomart\Dto\OrderCardResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdCarrierSignPost($order_id): \MagDv\Cargomart\Dto\OrderCardResponse
Подписать взятие заказа перевозчиком
Подписать взятие заказа перевозчиком
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор заказа.
try {
$result = $apiInstance->apiV2OrderOrderIdCarrierSignPost($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdCarrierSignPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор заказа. |
\MagDv\Cargomart\Dto\OrderCardResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdCheckDigitalEcnAccessGet($order_id, $point_index_from, $point_index_to): \MagDv\Cargomart\Dto\OrderEcnCheckAccessResponse
Проверка доступа к созданию Электронной ТРН.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор заказа.
$point_index_from = 56; // int | Индекс пункта погрузки из маршрута.
$point_index_to = 56; // int | Индекс пункта выгрузки из маршрута.
try {
$result = $apiInstance->apiV2OrderOrderIdCheckDigitalEcnAccessGet($order_id, $point_index_from, $point_index_to);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdCheckDigitalEcnAccessGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор заказа. | |
point_index_from | int | Индекс пункта погрузки из маршрута. | |
point_index_to | int | Индекс пункта выгрузки из маршрута. |
\MagDv\Cargomart\Dto\OrderEcnCheckAccessResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdEcnGet($order_id, $filter_index_from, $filter_index_to, $filter_type, $filter_status_group, $filter_status, $filter_is_active, $page, $per_page): \MagDv\Cargomart\Dto\OrderEcnListResponse
Получение списка ЭТрН у заказа
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
$filter_index_from = 56; // int | Индекс пункта откуда.
$filter_index_to = 56; // int | Индекс пункта куда.
$filter_type = new \MagDv\Cargomart\Dto\\MagDv\Cargomart\Dto\EcnType(); // \MagDv\Cargomart\Dto\EcnType | Тип ТРН.
$filter_status_group = new \MagDv\Cargomart\Dto\\MagDv\Cargomart\Dto\EcnStatusGroup(); // \MagDv\Cargomart\Dto\EcnStatusGroup | Обобщенный статус ТРН.
$filter_status = new \MagDv\Cargomart\Dto\\MagDv\Cargomart\Dto\EcnStatus(); // \MagDv\Cargomart\Dto\EcnStatus | Статус ТРН.
$filter_is_active = True; // bool | Выбрать только активные.
$page = 1; // int | Номер страницы для постраничной навигации
$per_page = 20; // int | Количество элементов на страницу
try {
$result = $apiInstance->apiV2OrderOrderIdEcnGet($order_id, $filter_index_from, $filter_index_to, $filter_type, $filter_status_group, $filter_status, $filter_is_active, $page, $per_page);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdEcnGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. | |
filter_index_from | int | Индекс пункта откуда. | [optional] |
filter_index_to | int | Индекс пункта куда. | [optional] |
filter_type | \MagDv\Cargomart\Dto\EcnType | Тип ТРН. | [optional] |
filter_status_group | \MagDv\Cargomart\Dto\EcnStatusGroup | Обобщенный статус ТРН. | [optional] |
filter_status | \MagDv\Cargomart\Dto\EcnStatus | Статус ТРН. | [optional] |
filter_is_active | bool | Выбрать только активные. | [optional] |
page | int | Номер страницы для постраничной навигации | [optional] [default to 1] |
per_page | int | Количество элементов на страницу | [optional] [default to 20] |
\MagDv\Cargomart\Dto\OrderEcnListResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdEcnPost($order_id, $ecn_additional_data): \MagDv\Cargomart\Dto\OrderEcnResponse
Создание ЭТрН для заказа.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор заказа.
$ecn_additional_data = new \MagDv\Cargomart\Dto\EcnAdditionalData(); // \MagDv\Cargomart\Dto\EcnAdditionalData
try {
$result = $apiInstance->apiV2OrderOrderIdEcnPost($order_id, $ecn_additional_data);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdEcnPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор заказа. | |
ecn_additional_data | \MagDv\Cargomart\Dto\EcnAdditionalData |
\MagDv\Cargomart\Dto\OrderEcnResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdEcnTemplateGet($order_id, $format, $point_index): \MagDv\Cargomart\Dto\FileLinkResponse
Скачать транспортную накладную (подготовить ссылку на скачивание)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор заказа.
$format = new \MagDv\Cargomart\Dto\\MagDv\Cargomart\Dto\EcnTemplateFormatEnum(); // \MagDv\Cargomart\Dto\EcnTemplateFormatEnum | Формат формирования накладной.
$point_index = array(56); // int[] | Индексы точек погрузки, которые указать в ТН, 2-шт
try {
$result = $apiInstance->apiV2OrderOrderIdEcnTemplateGet($order_id, $format, $point_index);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdEcnTemplateGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор заказа. | |
format | \MagDv\Cargomart\Dto\EcnTemplateFormatEnum | Формат формирования накладной. | [optional] |
point_index | int[] | Индексы точек погрузки, которые указать в ТН, 2-шт | [optional] |
\MagDv\Cargomart\Dto\FileLinkResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdFixPriceGet($order_id): \MagDv\Cargomart\Dto\OrderFixPriceResponse
Зафиксировать цену заказа
Зафиксировать цену заказа
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор заказа.
try {
$result = $apiInstance->apiV2OrderOrderIdFixPriceGet($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdFixPriceGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор заказа. |
\MagDv\Cargomart\Dto\OrderFixPriceResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdGet($order_id): \MagDv\Cargomart\Dto\OrderCardResponse
Получение информации для карточки заказа.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
try {
$result = $apiInstance->apiV2OrderOrderIdGet($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. |
\MagDv\Cargomart\Dto\OrderCardResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdItineraryGet($order_id, $with): \MagDv\Cargomart\Dto\ItineraryListResponse
Получение данных по точкам маршрута.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client()
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
$with = array('with_example'); // string[] | Связанные данные, добавить реальное местоположение машины
try {
$result = $apiInstance->apiV2OrderOrderIdItineraryGet($order_id, $with);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdItineraryGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. | |
with | string[] | Связанные данные, добавить реальное местоположение машины | [optional] |
\MagDv\Cargomart\Dto\ItineraryListResponse
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdNegotiatePost($order_id, $order_negotiate_request): \MagDv\Cargomart\Dto\OrderCardResponse
Изменение заказчиком условий заказа, чтобы ближе соответствовать поступившим предложениям от перевозчиков
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор заказа
$order_negotiate_request = new \MagDv\Cargomart\Dto\OrderNegotiateRequest(); // \MagDv\Cargomart\Dto\OrderNegotiateRequest
try {
$result = $apiInstance->apiV2OrderOrderIdNegotiatePost($order_id, $order_negotiate_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdNegotiatePost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор заказа | |
order_negotiate_request | \MagDv\Cargomart\Dto\OrderNegotiateRequest |
\MagDv\Cargomart\Dto\OrderCardResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdOfferGet($order_id): \MagDv\Cargomart\Dto\OrderOfferListResponse
получение списка предложений на заказ.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
try {
$result = $apiInstance->apiV2OrderOrderIdOfferGet($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdOfferGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. |
\MagDv\Cargomart\Dto\OrderOfferListResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdOfferPost($order_id, $offer_push_request): \MagDv\Cargomart\Dto\OrderCardResponse
Установка предложения на заказ.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
$offer_push_request = new \MagDv\Cargomart\Dto\OfferPushRequest(); // \MagDv\Cargomart\Dto\OfferPushRequest
try {
$result = $apiInstance->apiV2OrderOrderIdOfferPost($order_id, $offer_push_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdOfferPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. | |
offer_push_request | \MagDv\Cargomart\Dto\OfferPushRequest |
\MagDv\Cargomart\Dto\OrderCardResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdOriginalDocsAcceptPost($order_id): \MagDv\Cargomart\Dto\OrderCardResponse
Подтвердить принятие оригиналов документов.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
try {
$result = $apiInstance->apiV2OrderOrderIdOriginalDocsAcceptPost($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdOriginalDocsAcceptPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. |
\MagDv\Cargomart\Dto\OrderCardResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdOriginalDocsRejectPost($order_id, $reject_document_request): \MagDv\Cargomart\Dto\OrderCardResponse
Отклонить оригиналы документов.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
$reject_document_request = new \MagDv\Cargomart\Dto\RejectDocumentRequest(); // \MagDv\Cargomart\Dto\RejectDocumentRequest
try {
$result = $apiInstance->apiV2OrderOrderIdOriginalDocsRejectPost($order_id, $reject_document_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdOriginalDocsRejectPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. | |
reject_document_request | \MagDv\Cargomart\Dto\RejectDocumentRequest |
\MagDv\Cargomart\Dto\OrderCardResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdOriginalDocsTrackingNumberPost($order_id, $tracking_number_request): \MagDv\Cargomart\Dto\OrderCardResponse
Указать трек номер отправленных документов.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
$tracking_number_request = new \MagDv\Cargomart\Dto\TrackingNumberRequest(); // \MagDv\Cargomart\Dto\TrackingNumberRequest
try {
$result = $apiInstance->apiV2OrderOrderIdOriginalDocsTrackingNumberPost($order_id, $tracking_number_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdOriginalDocsTrackingNumberPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. | |
tracking_number_request | \MagDv\Cargomart\Dto\TrackingNumberRequest |
\MagDv\Cargomart\Dto\OrderCardResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdPinDelete($order_id): \MagDv\Cargomart\Dto\OrderPinResponse
Удаление заказа из списка закрепленных.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
try {
$result = $apiInstance->apiV2OrderOrderIdPinDelete($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdPinDelete: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. |
\MagDv\Cargomart\Dto\OrderPinResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdPinGet($order_id): \MagDv\Cargomart\Dto\OrderUsersResponse
Получить список пользователей закрепивших заказ
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
try {
$result = $apiInstance->apiV2OrderOrderIdPinGet($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdPinGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. |
\MagDv\Cargomart\Dto\OrderUsersResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdPinPost($order_id): \MagDv\Cargomart\Dto\OrderPinResponse
Добавление заказа в список закрепленных.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор заказа
try {
$result = $apiInstance->apiV2OrderOrderIdPinPost($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdPinPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор заказа |
\MagDv\Cargomart\Dto\OrderPinResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdSignPost($order_id, $order_sign_create_request): \MagDv\Cargomart\Dto\OrderCardResponse
Подписаться на заказ
Подписаться на заказ
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор заказа.
$order_sign_create_request = new \MagDv\Cargomart\Dto\OrderSignCreateRequest(); // \MagDv\Cargomart\Dto\OrderSignCreateRequest
try {
$result = $apiInstance->apiV2OrderOrderIdSignPost($order_id, $order_sign_create_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdSignPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор заказа. | |
order_sign_create_request | \MagDv\Cargomart\Dto\OrderSignCreateRequest |
\MagDv\Cargomart\Dto\OrderCardResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdSignedDocumentGet($order_id): \MagDv\Cargomart\Dto\OrderSignedDocumentListResponse
Получение документов заказа со списком титулов
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор заказа.
try {
$result = $apiInstance->apiV2OrderOrderIdSignedDocumentGet($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdSignedDocumentGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор заказа. |
\MagDv\Cargomart\Dto\OrderSignedDocumentListResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdSimpleDocumentGet($order_id): \MagDv\Cargomart\Dto\OrderSimpleDocumentResponse
Получение документов заказа со списком титулов
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор заказа.
try {
$result = $apiInstance->apiV2OrderOrderIdSimpleDocumentGet($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdSimpleDocumentGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор заказа. |
\MagDv\Cargomart\Dto\OrderSimpleDocumentResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdUnarchivePost($order_id): \MagDv\Cargomart\Dto\OrderCardResponse
Возврат заказа из архива.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор заказа
try {
$result = $apiInstance->apiV2OrderOrderIdUnarchivePost($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdUnarchivePost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор заказа |
\MagDv\Cargomart\Dto\OrderCardResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdValidateEcnDataPost($order_id, $ecn_additional_data): \MagDv\Cargomart\Dto\BaseMessageResponse
Проверка данных ЭТрН заказа перед созданием.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор заказа.
$ecn_additional_data = new \MagDv\Cargomart\Dto\EcnAdditionalData(); // \MagDv\Cargomart\Dto\EcnAdditionalData
try {
$result = $apiInstance->apiV2OrderOrderIdValidateEcnDataPost($order_id, $ecn_additional_data);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdValidateEcnDataPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор заказа. | |
ecn_additional_data | \MagDv\Cargomart\Dto\EcnAdditionalData |
\MagDv\Cargomart\Dto\BaseMessageResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2OrderOrderIdVisitorGet($order_id): \MagDv\Cargomart\Dto\OrderUsersResponse
Получить список пользователей открывавших карточку заказа
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new MagDv\Cargomart\Api\OrderItemApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
$order_id = 'order_id_example'; // string | Идентификатор шаблона или базового заказа.
try {
$result = $apiInstance->apiV2OrderOrderIdVisitorGet($order_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderItemApi->apiV2OrderOrderIdVisitorGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
order_id | string | Идентификатор шаблона или базового заказа. |
\MagDv\Cargomart\Dto\OrderUsersResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]