Write a postcard
hip_set_postcardNeeds a job_handle from hip_create_job (a new job, no documents) and choices from hip_get_catalog. Write a postcard on a job from hip_create_job: its size, its front (a front from hip_get_catalog), the message on the back in a handwriting-style font, and the name it is signed with. Have It Printed checks that the message fits the card and follows the card guidelines, and returns the price and preview pictures of both sides. This only edits the job's draft before checkout: calling it again updates this draft (the previous draft text is not kept), the person sees and approves the card before paying, and nothing is printed, mailed or charged until the person pays on haveitprinted.com. Postcards are printed in full color and mailed First-Class with no tracking. Never put a mailing address on the card or in this call: the person enters it at checkout. Then call hip_create_checkout: the person pays on haveitprinted.com.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_handle": "<job_handle>",
"size": "<size>",
"front": "<front>",
"message": "<message>"
},
"name": "hip_set_postcard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | No | a font from hip_get_catalog (default: the first) | |
| size | Yes | the card's size in inches | |
| front | Yes | a front id from hip_get_catalog (design:..., or card:... when listed) | |
| message | Yes | the message on the back, as it should read | |
| job_handle | Yes | the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it. | |
| sender_name | No | the name the card is signed with | |
| front_fields | No | only for a front design that lists fields: the words it shows |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||