Hi all.
I have a couple of custom apps using the carrier service webhooks.
Up until now, the rate request i get from shopify has included information about both each items price and applied discounts. The discounts were supplied in the “properties” object fields, namely in the data fields, “discounted_price” and “_ro_unformated_price”.
{
"rate":{
"origin":{ ...},
"destination":{ ... },
"items":[
{
"name":"Product 1",
"sku":"123",
"quantity":1,
"grams":500,
"price":71500,
"vendor":"test",
"requires_shipping":true,
"taxable":true,
"fulfillment_service":"manual",
"properties":{
"discounted_price":"600 kr",
"_ro_unformated_price":"59995"
},
"product_id":123456,
"variant_id":123456
}
],
"currency":"DKK",
"locale":"da-DK"
}
}
}
Now both of these data fields has disappeared, the properties field is just an empty object { }, I have tested multiple shops, and it seems to be a change in Shopify. I know that these fields were not really documented but the carrier service section in general is poorly documented, and discount certainly seem logical to include, since, “what worth does the price have if you cannot know the applied discount” ?
I have asked the support about this, but they seem to be in a “Not our problem” state of mind.
So.. well, anybody else shares this pain, please like, and if you know of any solution to this, how I could get the information about applied discounts, please let me know.
Thanks!