Closed
Description
Software Version
7.4.3
Language Version
jdk 17
Operating System
mac os
What happened?
- Obtain a pickup
- Call easyPostClient.pickup.buy(pickup.getId(), pickup.getPickupRates().get(0))
- Inside buy method PickupRate is wrapped into the "rate" json field which makes the request not correct. API complains on missed required "carrier" field .
What was expected?
To buy a pickup rate should not be wrapped into the "rate" JSON root object
https://docs.easypost.com/docs/pickups#buy-a-pickup
Sample Code
No response
Relevant logs
No response