Skip to main content
POST
Create a postcard

Headers

Idempotency-Key
string

Any unique string. Retrying with the same key returns the original order instead of creating a duplicate.

Maximum string length: 120

Body

application/json
to
object
required
from
object
required

Return address, printed on the card. Required.

content
object
required

Provide front_image_url or front_headline.

size
enum<string>
default:4x6
Available options:
4x6,
6x9
customer_email
string<email>
idempotency_key
string

Alternative to the Idempotency-Key header

Response

Idempotency-Key already used: the original order is returned

id
string
Example:

"ord_8k2m4qz7c1x9b3vd"

object
enum<string>
Available options:
postcard,
letter
product
enum<string>
Available options:
postcard_4x6,
postcard_6x9,
letter
status
enum<string>
Available options:
awaiting_payment,
paid,
printing,
mailed,
cancelled,
refunded
status_detail
string
price
object
to
object
from
object
content
object
checkout_url
string | null

Where the person pays. Null once paid or closed. Never expires.

order_url
string

Human-readable status page

preview_url
string

Exact print preview

created_at
string<date-time>
paid_at
string<date-time> | null
mailed_at
string<date-time> | null
events
object[]