I need to allow free shiping based on some very specific needs using a shipping code:
I don't quite understand ho to use the shipping API to make this work. Can anyone give me a high level view on how to go about this?
Assuming this is relating to Shopify Scripts (given the section you've posted in:
^ something vaguely like that.
Thanks Jason, that helps me undestand the processes better. Could clarify something? It seems like the shipping is all or nothing so I could calculate the shipping for the whole order but not partial (only calc for the non-sale items), is this correct? Meaning if the user has 10 items that qualify but 1 is a sale the whole thing would "stop" not just calc for the 1 sale item. That seems to be how shopify works. Just wanted to clarify that expectation.
Thanks you again!
It's not all or nothing - just how the flow of that Script was laid out. For partial matching, there's nothing stopping you adding ruby logic to instead reduce the shipping price by a smaller amount vs making it completely free.
That seems to be how shopify works.
This makes me wonder if you are talking about Shopify Scripts. Perhaps you're talking about the CarrierService API.
Jason, I'm working out a shopify script for this but getting an odd error. Anyway you can help me with this and get me over this hump?