How to assign what Freight to use when Create order API?

How to assign what Freight to use when Create order API?

Elliot15
Visitor
1 0 0

Hi everyone!

 

So we're having an issue where we can't seem to assign a Freight profile to the order we're creating via API.

Basically what we're trying to do is to create an Exchange flow, so,

A - Customer returns and chooses and exchange product for order bought in store

B - We create an order via Create order API with the new product etc

C - The order has no Freight

 

What we're trying to do is essentially copying the freight option from the original order the customer bought (Because we know the order arrived the shipping service is OK), how and where can we put that in the Create order API? It doesn't necessarily have to be the same but just one that actually works.

 

Thanks in advance!

Replies 0 (0)