Direct mail API for developers and growth teams. Read the docs →

We’ve moved postcards by API: tell every customer your new address

We’ve moved postcards tell your customers where to find you before they turn up at the old door. Sent through a direct mail API, one card goes to every customer on your list with their name, the new address, the date you open there and your hours, for $0.89 a 6x9 card with postage, about three weeks before the move. Below: when to mail, what the card says, filing a USPS change of address for the business and what it forwards, and the script that sends the cards.

On this page
  1. When to mail we’ve moved postcards by API
  2. What a we’ve moved postcard says, with API merge fields
  3. Who gets a we’ve moved postcard: the list for an API send
  4. USPS change of address for a business, and what it forwards to API senders
  5. Change the return address you mail from by API
  6. Code: send we’ve moved postcards to every customer by API
  7. What we’ve moved postcards cost by API
  8. We’ve moved postcard questions from API senders

When to mail we’ve moved postcards by API

A few weeks beforeFile a USPS change of address for the businessAbout 3 weeks beforeMail every customer the cardMove dayChange the return address you mail fromThe next 12 monthsUSPS forwards First-Class Mail to the new address
Around the move. The card goes out early enough to land before the move, since Marketing Mail takes 3 to 10 business days. USPS forwards First-Class Mail for a year; advertising mail sent to the old address isn’t forwarded unless its sender pays for it.

The cards go by USPS Marketing Mail, which USPS puts at 3 to 10 business days and doesn’t guarantee. Mail them about three weeks before the move, so they land in the last week or two at the old address: early enough to plan around, late enough to remember. If the date might slip, say “from mid-January” rather than a day.

What a we’ve moved postcard says, with API merge fields

We’ve moved, Ada.Same team, new home on Mill Ave.frontfirst_nameFind us fromJanuary 11418 Mill Ave, TempeMon to Sat, 8 to 6Your new return address prints herebackmove_date
The new address is the headline. The name is each customer’s own; the address, the date and the hours are the same on every card, so they go in the batch’s shared merge or straight into the design.
  • The new address, big enough to read across a room, with a landmark or the cross street.
  • The date you open there, and the last day at the old place.
  • What changed and what didn’t: hours, phone, parking, and “same team” if it’s true.
  • A small map or a QR code that opens directions.

The name is the only field that changes per card. The address, the date and the hours are the same for everyone, so they go in the batch’s shared merge or straight into the design. The rest of the layout is in direct mail design, and a QR code to the map is in QR code postcards.

Who gets a we’ve moved postcard: the list for an API send

  • Active customers, patients or clients, from your booking, billing or CRM system.
  • Customers from the last year or two who might come back, now with a reason to.
  • Suppliers and partners who send you deliveries or paperwork.
  • One card per household or office, with every address checked by "verify": true.

The streets around the new location are worth a card too, as an introduction. Every address on the nearby carrier routes, or only the homes you choose, are compared in how to mail flyers to a neighborhood.

USPS change of address for a business, and what it forwards to API senders

  • Filing. Online at USPS’s change-of-address site, choosing Business, for a $1.25 identity check; or on PS Form 3575 at a Post Office, with a business license or a signed letter on company letterhead.
  • First-Class Mail to the old address is forwarded for 12 months on a permanent change.
  • USPS Marketing Mail to the old address isn’t forwarded unless its sender paid for forwarding, which is one more reason to tell people yourself. That’s the mail marked PRSRT STD or PRSRT MKTG; see presorted standard mail.
  • Other companies’ lists. Your change of address goes into USPS’s NCOALink data, so mailers who run NCOA get your new address: up to 48 months back for full-service providers.

Change the return address you mail from by API

Every Mailr piece prints a return address: the one in from on the request, or the one saved in your account settings. Update the saved one on move day, and send the moving cards themselves with the new address in from, so anything that comes back goes where you’ll be.

Code: send we’ve moved postcards to every customer by API

# Run once, about three weeks before the move. Env: MAILR_API_KEY.
# customers.csv: everyone you'd want to find you: id, name, first_name, line1, line2, city, state, zip
# mail/moved/front.html and back.html: your design, with {{first_name}}, {{move_date}} and {{new_address}} in it
import csv, os, requests

NEW = {"name": "Acme Dental", "line1": "418 Mill Ave", "city": "Tempe", "state": "AZ", "zip": "85281"}

with open("customers.csv", newline="") as f:
    customers = list(csv.DictReader(f))

front = open("mail/moved/front.html").read()
back = open("mail/moved/back.html").read()

for n, start in enumerate(range(0, len(customers), 1000)):
    chunk = customers[start:start + 1000]
    r = requests.post("https://api.mailr.dev/v1/batches", timeout=120,
        headers={"Authorization": f"Bearer {os.environ['MAILR_API_KEY']}",
                 "Idempotency-Key": f"moved-mill-ave-{n}"},  # a re-run never mails a batch twice
        json={"kind": "postcard", "size": "6x9", "verify": True, "front": front, "back": back,
              "from": NEW,  # the new address as the return address, before the old one stops
              "merge": {"move_date": "January 11", "new_address": "418 Mill Ave, Tempe"},  # same on every card
              "recipients": [{"to": {"name": c["name"][:40], "line1": c["line1"], "line2": c["line2"] or None,
                                     "city": c["city"], "state": c["state"], "zip": c["zip"]},
                              "merge": {"first_name": (c["first_name"] or "friend")[:14]}}
                             for c in chunk],
              "description": "We've moved: Mill Ave"})
    if r.status_code == 422:  # the error names the row to fix; nothing in this batch was sent
        print("batch", n, r.json()["error"]["message"])
        continue
    r.raise_for_status()
    print(r.json()["id"], r.json()["count"], r.json()["price"])
Run it with an mlr_test_ key first and check the proofs: the new address should be right on every card before anything prints.

What we’ve moved postcards cost by API

Customers4x66x9
250$212.50$222.50
500$425.00$445.00
1,000$850.00$890.00
2,500$2,125.00$2,225.00

Pay as you go prices, with printing in full color on both sides, addressing and postage. Checking the addresses is extra.

We’ve moved postcard questions from API senders

When should we've moved postcards go out?

About three weeks before the move. They go by USPS Marketing Mail, which takes 3 to 10 business days and isn't guaranteed, so that lands them in the week or two before you open at the new address.

Does USPS forward a business's mail after a move?

Yes, if you file a change of address for the business. A permanent change forwards First-Class Mail for 12 months. Advertising mail sent by USPS Marketing Mail isn't forwarded unless its sender paid for forwarding.

Will other companies' mailing lists get our new address?

Many will. A business change of address goes into USPS's NCOALink data, and mailers who run their lists through NCOA get the new address.

Can we mail the neighborhood around the new location too?

Yes, either every address on the carrier routes around it or a list of the homes you choose. Both are compared in how to mail flyers to a neighborhood.

How much do we've moved postcards cost?

$0.85 for a 4x6 and $0.89 for a 6x9 on pay as you go, printing and postage included, so 1,000 customers is $890.00 at 6x9.

START SENDING

Put your first postcard in the mail

Create a key, send a test to yourself, and check the proof before anything prints.

Start sending
  • Postcards, flats and folded mailers
  • A proof before anything prints
  • Free test mode: nothing prints, nothing charges
  • A status for every piece

Free price sheet

Get the price sheet by email

Every postcard, letter, mailer and print product on every plan, with postage included.

We’ll email you the price sheet. By continuing you agree to the Terms and Privacy Policy.

Download the template kit?

mailr-kit.zip · about 310 KB · 59 text files

Only HTML, JSON and Markdown files. No programs, scripts or macros, nothing that installs or runs.