Abhishek Jain
Abhishek Jain

Reputation: 1

php shipping charges api

I want to use one api that will calculate shipping charge automatically & return me the price. please give me solution with one example of api which you will give because i dont know how to use it.

thank you

Upvotes: 0

Views: 415

Answers (2)

gabe3886
gabe3886

Reputation: 4265

UPS have a shipping API where you can pass in various parameters and get the cost of shipping back from them. You do, however, need to be a UPS customer to get access to it.

Upvotes: 1

Pekka
Pekka

Reputation: 449395

You mean, one API that you pass size, weight, sender and recipient address to, that queries all the shipping services that happen to do that route and retrieves a price, taking into consideration all specific requirements, special offers, customs tariffs....? Such a thing doesn't exist, at least not at the moment.

You need to narrow down your requirements (country, shipping services...) to get pointers to existing APIs. They do exist, but each company has its own.

Upvotes: 1

Related Questions