diff --git a/src/Services/ConsignmentEncode.php b/src/Services/ConsignmentEncode.php index c0b0f46a..d711a78a 100644 --- a/src/Services/ConsignmentEncode.php +++ b/src/Services/ConsignmentEncode.php @@ -124,6 +124,10 @@ public static function encodeExtraOptions(array $consignmentEncoded, AbstractCon ]; } + if (AbstractConsignment::PACKAGE_TYPE_PACKAGE_SMALL === $consignment->getPackageType()) { + $consignmentEncoded['options']['tracked'] = 1; + } + foreach ($consignment->getMandatoryShipmentOptions() as $option) { $key = "options.$option"; $value = Arr::get($consignmentEncoded, $key);