File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
app/code/Magento/Fedex/Model Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ class Carrier extends AbstractCarrierOnline implements \Magento\Shipping\Model\C
9797 *
9898 * @var string
9999 */
100- public const SHIPMENT_CANCEL_END_POINT = '/ship/v1/shipments ' ;
100+ public const SHIPMENT_CANCEL_END_POINT = '/ship/v1/shipments/cancel ' ;
101101
102102 /**
103103 * REST end point of Tracking API
@@ -1418,10 +1418,8 @@ public function rollBack($data): bool
14181418 }
14191419
14201420 $ requestData ['accountNumber ' ] = ['value ' => $ this ->getConfigData ('account ' )];
1421- $ requestData ['labelResponseOptions ' ] = 'LABEL ' ;
1422- $ requestData ['emailShipment ' ] = true ;
14231421 $ requestData ['deletionControl ' ] = 'DELETE_ALL_PACKAGES ' ;
1424- $ requestData [ ' senderCountryCode ' ] = ' US ' ;
1422+
14251423 foreach ($ data as &$ item ) {
14261424 $ requestData ['trackingNumber ' ] = $ item ['tracking_number ' ];
14271425 $ requestString = $ this ->serializer ->serialize ($ requestData );
You can’t perform that action at this time.
0 commit comments