Need help from a shopify dev on this one:
I've just created a carrierService app and launced it for my store using NodeJS & AWS Lambda.
Unfortunately I noticed my carrierService webhook doesn't seem to get "coupon" or "discount" information when it provides me with "item price". This is something I need to properly calculate shipping rates programatically (and would be super useful for returning things like "free shipping").
Am I missing it? Or is this really simply not provided?
I need discount information before returning rates, so I can do things like provide "free shipping" to orders over $60 in a flexible manor. Additionally I have some logic which calculates shipping price discounts, based off the overall order value. We run a lot of coupons on my stores, 10%, 20%, Free Shipping and I need to calculate appropriate shipping rates based off post discount order value, not pre-discount. Also having discount code provided to my carrierService endpoint will allow me to do fancy things with free shipping.
Anyone have a solution for this?
doesn't seem to get "coupon" or "discount" information when it provides me with "item price".
know how discount API is going to help me in carrierService API
no discount api access no information, either implicilty in the item response or in a seperate call via direct discount call.
The best way to know for sure is firstname.lastname@example.org with subject "discount data missing in item endpoint"
My suggestion is to keep waiting while they ignore us. Maybe someone will figure out this is important at some point in the future when someone who works there needs to build their own store.
I still need this and am about to redo my carrierService code. I'll check to see if this has been added, but I'm not optimistic. Only been waiting for like 4 years lol.