Update saved package
update_saved_packageEdit a saved package's name, packaging, size, weight, signature, insurance, return label and flags, keeping fields you leave out. Saves the edit as a new version and returns its new id.
Instructions
Changes a Saved Package; fields you leave out keep their values.
Edits one Saved Package: name, packaging, size, weight, signature, insurance, return label and flags. Pirate Ship saves an edit as a new version: the answer carries the new id, use it from then on. default true makes it the preselected package.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Name shown in Saved Packages. | |
| default | No | Preselect it on new shipments. | |
| width_in | No | ||
| height_in | No | ||
| irregular | No | ||
| length_in | No | ||
| packaging | No | Parcel | |
| signature | No | none | |
| weight_oz | No | 0 leaves the weight to each label. | |
| media_mail | No | Qualifies for USPS Media Mail. | |
| package_id | Yes | id from list_saved_packages. | |
| return_label | No | return: return labels only; standard_and_return: an extra return label. | none |
| insured_value_usd | No | ||
| hazardous_materials | No |