File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change @@ -1005,6 +1005,57 @@ Response:
10051005 ]
10061006}
10071007```
1008+ ### Domestic Prices - Letter Rates Request (V3)
1009+ Performs a search for letter prices using the submitted rate ingredients.
1010+ ``` sh
1011+ curl -X ' POST' ' https://api.usps.com/prices/v3/letter-rates/search' \
1012+ --header ' Content-Type: application/json' \
1013+ --header ' Authorization: Bearer $TOKEN' \
1014+ --data ' {
1015+ "weight": 3.5,
1016+ "length": 4.0,
1017+ "height": 5.0,
1018+ "thickness": 0.25,
1019+ "processingCategory": "LETTERS",
1020+ "mailingDate": "2023-11-29",
1021+ "nonMachinableIndicators": {
1022+ "isPolybagged": true,
1023+ "hasClosureDevices": true,
1024+ "hasLooseItems": true,
1025+ "isRigid": true,
1026+ "isSelfMailer": true,
1027+ "isBooklet": true
1028+ }
1029+ }'
1030+ ```
1031+ Response:
1032+ ``` json
1033+ {
1034+ "totalBasePrice" : 1.75 ,
1035+ "rates" : [
1036+ {
1037+ "SKU" : " DFLL0XXXXR00035" ,
1038+ "description" : " First Class Letter Metered" ,
1039+ "priceType" : " RETAIL" ,
1040+ "price" : 1.35 ,
1041+ "weight" : 3.5 ,
1042+ "dimWeight" : null ,
1043+ "fees" : [
1044+ {
1045+ "name" : " Nonmachinable letter fee" ,
1046+ "SKU" : " N/A" ,
1047+ "price" : 0.4
1048+ }
1049+ ],
1050+ "startDate" : " 2023-07-09" ,
1051+ "endDate" : " " ,
1052+ "warnings" : [],
1053+ "mailClass" : " USPS_GROUND_ADVANTAGE" ,
1054+ "zone" : null
1055+ }
1056+ ]
1057+ }
1058+ ```
10081059## International Prices
10091060The International Prices API can be used to look-up postage rates for international packages:
10101061- Lookup International Base Postage based on a set of given package characteristics
You can’t perform that action at this time.
0 commit comments