cancel
Showing results for 
Search instead for 
Did you mean: 

Custom shipping price trough the REST API

SOLVED

Custom shipping price trough the REST API

Hi, everyone,

 

I'm integrating a Magento B2B to an ERP system.

The ERP system have the old orders and I want to import them to Magento so the customers can see their old orders.

 

The orders shipping price was calculated by our own algorythm and if we try to add the orders to Magento, it gives its own shipping estimation.

 

Is there a way to send the shipping price trough the REST API?

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Custom shipping price trough the REST API

Hi @lucas_pickler knaul,

 

I understand you won't be able to pass the price using the standard shipping mehtods.

Maybe the solution is to create a custom shipping method that request also the price (but I'm not sure, this could works with M1 but I never did it with M2).

Maybe you should explore that idea.

If not, maybe a custom endpoint should be the best option .

View solution in original post

1 REPLY 1

Re: Custom shipping price trough the REST API

Hi @lucas_pickler knaul,

 

I understand you won't be able to pass the price using the standard shipping mehtods.

Maybe the solution is to create a custom shipping method that request also the price (but I'm not sure, this could works with M1 but I never did it with M2).

Maybe you should explore that idea.

If not, maybe a custom endpoint should be the best option .