Shipping APIs
//Update Defaults
This operation updates the values set for Defaults.
Security
bearerAuth
- Sandbox Serverhttps://api-sandbox.sendpro360.pitneybowes.com/shipping/api/v1/defaults/{defaultID}
- Production Server (uses live data)https://api.sendpro360.pitneybowes.com/shipping/api/v1/defaults/{defaultID}
- Sandbox Server for Canadahttps://api-ppd.shipping360.pitneybowes.com/ca/shipping/api/v1/defaults/{defaultID}
- Production Server for Canadahttps://api.shipping360.pitneybowes.com/ca/shipping/api/v1/defaults/{defaultID}
curl -i -X PUT \
'https://api-sandbox.sendpro360.pitneybowes.com/shipping/api/v1/defaults/{defaultID}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "FedEx-Defaults",
"defaultID": "0d4f3c51-059b-4c28-a83b-a8defa2962cc",
"sendingOptions": {
"carrier": "FedEx",
"service": "2DA",
"carrierAccounts": {
"USPS": "JYKEb4VQvoVx!",
"FEDEX": "WRF4VFUUJDx!"
},
"labelSize": "DOC_4X6",
"labelType": "SHIPPING_LABEL",
"labelFormat": "PDF",
"fromAddress": {
"name": "Sender Name",
"addressLine1": "1600 Amphitheatre Parkway",
"addressLine2": "near abc street",
"addressLine3": "near xyz street",
"company": "PB",
"email": "testuser@gmail.com",
"phone": "6502530000",
"cityTown": "Mountain View",
"stateProvince": "CA",
"postalCode": "94043",
"inductionPostalCode": "06905",
"countryCode": "US",
"residential": true
}
}
}'