Skip to content

Reprint a scan form (with carrier)

GET
/shipping/api/v1/scan_forms/{sub_carrier_id}/reprint/{collection_form_id}

Reprints a previously created scan form (manifest) document and returns it as a base64-encoded document.

When a sub-carrier identifier is provided, it is used to look up the company’s shipping configuration for that carrier.

sub_carrier_id
required
string

Sub-carrier identifier (e.g., USPS, ROYAL_MAIL, DPD_LOCAL). Used to look up the company’s shipping configuration.

Example
USPS
collection_form_id
required
string

The unique identifier of the scan form/manifest to reprint (returned in the create or history response as collection_form_id).

Example
dc82a800-a041-45fc-a5a3-07f33594182e990001511

Scan form document retrieved successfully

object
manifest

The reprinted scan form document

object
document

Base64-encoded scan form document content

string
JVBERi0xLjQKJeLjz9MKMyAwIG9iago8P...
document_format

Format of the document (e.g., PDF, PNG)

string
PDF
error_messages
Array<string>

Bad request - missing or invalid collection_form_id

object
error_messages
required

List of error messages

Array<string>
[
"to_address is required"
]
{
"error_messages": [
"Invalid request parameters"
]
}

Scan form not found for the given collection_form_id

object
error_messages
required

List of error messages

Array<string>
[
"to_address is required"
]
{
"error_messages": [
"Invalid request parameters"
]
}