cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 new FedEx api not getting the right price

Magento 2 new FedEx api not getting the right price

Hello,

I just upgraded to 2.4.7-p2 to get the new FedEx api working.

Connection works fine but I'm not getting the right prices for our account.

FedEx tells us that we have a wrong param in the request :

"rateRequestType": [
    "LIST"
],

Should be

"rateRequestType": [              
    "PREFERRED"
],

I could not see this option in admin.

Should it not figure there?

 

I tried to change this directly in vendor/magento/module-fedex/Model/Carrier.php and it seems to do the job.

But I also tried to override the Model to avoid update issues without luck.

 

Any idea on how I could get this fixed please?