Retrieve Physical Address
print_mail.virtual_mailboxes.retrieve_address(strid) -> VirtualMailboxRetrieveAddressResponse
GET/print-mail/v1/virtual_mailboxes/{id}/address
Retrieve Physical Address
import os
from postgrid import PostGrid
client = PostGrid(
print_mail_api_key=os.environ.get("POSTGRID_PRINT_MAIL_API_KEY"), # This is the default and can be omitted
)
response = client.print_mail.virtual_mailboxes.retrieve_address(
"id",
)
print(response.address_line1){
"addressLine1": "145 Mulberry st",
"city": "New York",
"provinceOrState": "NY",
"postalOrZip": "10013",
"countryCode": "US"
}Returns Examples
{
"addressLine1": "145 Mulberry st",
"city": "New York",
"provinceOrState": "NY",
"postalOrZip": "10013",
"countryCode": "US"
}