Webservice of the post office for more than one product per freight

Asked

Viewed 794 times

3

Hello, I’m using the webservice of the correctors:

http://ws.correios.com.br/calculador/CalcPrecoPrazo.asmx

To calculate the freight cost and term. The call is made via JS(jquery/ajax) and the webservice is in C#. I already consume the service successfully for 1 product.

The question is: And when are there more products to be shipped in a single freight? I do the separate calculation and we? Or how should it be done? Thanks for the help.

  • The freight is not linked to the product itself, but to the entire order, what defines this relationship is distance between the origin and destination of the delivery.

1 answer

3

You can sum the height width length information and make the cubage. If you do not exceed the maximum limits of the mail it will calculate well. If it exceeds you must ship separately or use a carrier.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.