Closed ahkelly closed 9 months ago
Hey @ahkelly, thanks for the feature request! As this is not a feature of our client libraries but is instead a feature of the API - I'm going to close this issue; however, know that I have submitted this internally with our product teams as something to investigate. We do not at this time have a way to track internal API feature requests but you are always welcome to reach out to support@easypost.com with future inquiries. Today, the API will return rates in a couple of ways for orders and this depends on the carrier in question. Some carriers will have the rates attached to the shipment objects (parcels) in an order and some carriers will only return the final rate of the entire order on the object record. With this knowledge, rate shopping with orders is not advised as it can be difficult to do depending on the carrier mix. Orders are intended to be used when many parcels are coming from the same location and going to the same location - if that is not the case here I would highly recommend using our shipments endpoint instead which will give you accurate rate shopping across carriers on a "per-parcel" basis. I hope this info is helpful, if you have further questions don't hesitate to reach out to our awesome support team.
Feature Request Is New
Description of the feature
It would be very helpful to return rates per parcel on multi-parcel order (await client.Order.create({})) requests. It can be confusing to end user.