Hello,
I have created an app on Shopify which is retrieving the shipping rates from our API. Our API is successfully returning the response but Shopify is displaying the rates for destination Kogarah but Rockdale. In both the cases we are returning the same response, please advice on what is going wrong? Also, is there any restriction on the number of rates which can be returned to Shopify?
Below are the responses sent to Shopify:
- Response which is displayed:
{
"rates": [
{
"service_name": "ECONOMY",
"service_code": "2776896",
"total_price": "1376",
"currency": "AUD",
"min_delivery_date": "2022-02-24 17:00:00 +11:00",
"max_delivery_date": "2022-02-24 17:00:00 +11:00"
},
{
"service_name": "ECONOMY",
"service_code": "2776902",
"total_price": "12921",
"currency": "AUD",
"min_delivery_date": "2022-02-24 17:00:00 +11:00",
"max_delivery_date": "2022-02-24 17:00:00 +11:00"
}
]
}
- Response which is not getting displayed:
{
"rates": [
{
"service_name": "ECONOMY",
"service_code": "2776862",
"total_price": "1376",
"currency": "AUD",
"min_delivery_date": "2022-02-24 17:00:00 +11:00",
"max_delivery_date": "2022-02-24 17:00:00 +11:00"
},
{
"service_name": "ECONOMY",
"service_code": "2776868",
"total_price": "12921",
"currency": "AUD",
"min_delivery_date": "2022-02-24 17:00:00 +11:00",
"max_delivery_date": "2022-02-24 17:00:00 +11:00"
}
]
}