Delete Self-Mailer Profile
print_mail.order_profiles.self_mailers.delete(strid) -> SelfMailerDeleteResponse
DELETE/print-mail/v1/order_profiles/self_mailers/{id}
Delete Self-Mailer Profile
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
)
self_mailer = client.print_mail.order_profiles.self_mailers.delete(
"id",
)
print(self_mailer.id){
"id": "self_mailer_profile_101",
"object": "self_mailer_profile",
"deleted": true
}Returns Examples
{
"id": "self_mailer_profile_101",
"object": "self_mailer_profile",
"deleted": true
}