Hello,
Dawn theme,
I want to display the minimum and maximum delivery date on page checkout.liquid, using CarrierService (Shopify API).
I need to get min_delivery_date and max_delivery_date. And the problem is that I make a request for - /admin/api/2022-01/carrier_services.json, and I get a response that doesn’t have min_delivery_date and max_delivery_date.
I get this response:
{
"carrier_services":[
{
"id":57492111453,
"name":"dhl_express",
"active":true,
"service_discovery":true,
"carrier_service_type":"legacy"
},
{
"id":57492144221,
"name":"ups_shipping",
"active":true,
"service_discovery":true,
"carrier_service_type":"legacy"
},
{
"id":57492078685,
"name":"usps",
"active":true,
"service_discovery":true,
"carrier_service_type":"legacy"
}
]
}
Question: Why are the values min_delivery_date and max_delivery_date not displayed?
I can’t understand why this is happening.
Please help.