Documentation

getById

array public static
\Bitrix\Sale\Delivery\Services\Manager::getById(
 integer $deliveryId
);

Method returns array with delivery service parameters. Static method.

Parameters

ParameterDescriptionVersion
$deliveryIdDelivery service ID.

Returned values

Parameters Description
ID Delivery service ID
CODE Delivery service character code
PARENT_ID Parent ID
NAME Name
ACTIVE Activity status
DESCRIPTION Description
SORT Sorting index
LOGOTIP Logo
CONFIG Delivery service settings
CURRENCY Currency
CLASS_NAME Delivery service handler class
TRACKING_PARAMS Parameters are required for tracking deliveries
ALLOW_EDIT_SHIPMENT Enables automatically changing initial shipment status when order is updated
VAT_ID VAT rate ID

Exceptions

Example

$deliveryAr = \Bitrix\Sale\Delivery\Services\Manager::getById($deliveryId);


© «Bitrix24», 2001-2024
Up