Skip to content

Commit 852c1bf

Browse files
committed
AC-9030::Fedex API Upgrade - Fix for the Static Test Failure
1 parent fdedc71 commit 852c1bf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/code/Magento/Fedex/Model/Carrier.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)