Set documents and recipient
hip_update_jobSet what a document job holds and how it is mailed: the documents uploaded with hip_get_upload_target (files replaces the whole list, so keep any added with hip_add_text_document), copies and color, the mailing option (product), the US recipient and options such as a return address. Use it after hip_create_job and the uploads; a letter or postcard written with hip_set_letter or hip_set_postcard carries its own options and takes no hip_update_job. Price fields are rejected: the server computes all amounts. Returns the updated job; call hip_quote next.
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>"
},
"name": "hip_update_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | the job's full list of documents, each uploaded first with hip_get_upload_target. It replaces the list already on the job; list each document once. | |
| options | No | optional job settings. product: how the job is mailed (the same as the product field). return_address: the US return address printed on the envelope, with name or company, line1, line2, city, state and zip; leave it out to use Have It Printed care of the buyer. | |
| product | No | how the job is mailed. tracked_document (the default): printed and mailed flat in a rigid mailer with a free tracking number. basic_letter: up to 5 pages, one copy of each document, folded into a standard envelope and mailed First-Class, with no tracking. certified_letter: the same letter sent by Certified Mail, with a tracking number. hip_get_service_info has the prices. | |
| recipient | No | US mailing address | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||