Shopify shipping rates get from an API -- 3
Budget: $250 – $750 USD
I need an application that my clients can install in their Shopify stores that goes and consults an API about the shipping costs of their order.
This api will return the available curriers with their shipping costs in JSON format.
On the store administrator's side, admin will be able to add a shipping address as a sender: street, number, phone, company, city, state and postal code.
The consumer will add their products to the shopping cart and when entering the shipping data with their postal code, the app that you will develop will consult the API who will return the information on the available curriers.
To calculate the shipping cost, the products in the store must have the weight of each product as a required field.
This way, at checkout we can know the total shipping weight.
This is an example of the request.
{
"ltl": "0",
"shipperZip": "86901",
"recipientZip": "35079",
"weight": "1",
"large": "15",
"width": "15",
"height": "15",
"secure": 0.
"secureValue": "$0",
"pickup": "0",
"international": 0.
"content": "quote",
"shipperCountry": "MX",
"shipperCity": "Guadalajara",
"shipperState": "Jalisco",
"recipientCountry": "MX",
"recipientCity": "Mexico",
"recipientState": "Mexico",
"isDocument":0
}
And this is the answer
{
"result": [
{
"Service": "EXPRESS DOMESTIC",
"Currier": "dhl",
"Total": "190.00",
"ServiceCode": "N",
"ExtendZone": false,
"EstimatedDate": "Estimated delivery 01/30/2024",
"Price": "190.00",
"PriceObj": {
"Price": "190.00",
"Secure": 0.
"ExtendZone": 0.
"Discount": null,
"Measure": 0
},
"Weight": 1,
"CurrierWeight": "1.0"
}
]
}
I will share some images of examples
https://www.youtube.com/watch?v=XGLWhSrV6cI&ab_channel=Easyship
https://www.youtube.com/watch?v=cfFTJx5OyCI&t=88s&ab_channel=SkydropxLATAM
This api will return the available curriers with their shipping costs in JSON format.
On the store administrator's side, admin will be able to add a shipping address as a sender: street, number, phone, company, city, state and postal code.
The consumer will add their products to the shopping cart and when entering the shipping data with their postal code, the app that you will develop will consult the API who will return the information on the available curriers.
To calculate the shipping cost, the products in the store must have the weight of each product as a required field.
This way, at checkout we can know the total shipping weight.
This is an example of the request.
{
"ltl": "0",
"shipperZip": "86901",
"recipientZip": "35079",
"weight": "1",
"large": "15",
"width": "15",
"height": "15",
"secure": 0.
"secureValue": "$0",
"pickup": "0",
"international": 0.
"content": "quote",
"shipperCountry": "MX",
"shipperCity": "Guadalajara",
"shipperState": "Jalisco",
"recipientCountry": "MX",
"recipientCity": "Mexico",
"recipientState": "Mexico",
"isDocument":0
}
And this is the answer
{
"result": [
{
"Service": "EXPRESS DOMESTIC",
"Currier": "dhl",
"Total": "190.00",
"ServiceCode": "N",
"ExtendZone": false,
"EstimatedDate": "Estimated delivery 01/30/2024",
"Price": "190.00",
"PriceObj": {
"Price": "190.00",
"Secure": 0.
"ExtendZone": 0.
"Discount": null,
"Measure": 0
},
"Weight": 1,
"CurrierWeight": "1.0"
}
]
}
I will share some images of examples
https://www.youtube.com/watch?v=XGLWhSrV6cI&ab_channel=Easyship
https://www.youtube.com/watch?v=cfFTJx5OyCI&t=88s&ab_channel=SkydropxLATAM