These are chat archives for mirumee/saleor

6th
Mar 2019
thenewguy
@thenewguy
Mar 06 13:32
Good morning. Seeking some guidance. Our products ship freight and require a quote based on shipment specifics and delivery address. We have an api that handles this. How/where would I hook into this to integreate the saelor shipping methods to return pricing results from our api?
Filip Kucharczyk
@Pacu2
Mar 06 14:37
Hi @thenewguy, check applicable_shipping_methods method on the ShippingMethod queryset
thenewguy
@thenewguy
Mar 06 14:52
Is there a way to access the specific order here? It seems like my problem is the freight rate is specific to an individual order
So I need to be able to quote the shipping rate based on the order delivery address and basket contents
@Pacu2 ^
I could create a shipping method instance for each applicable quote, but I need the order instance to tie them together