Admin API / Types

ShippingScanForm

Object

A USPS SCAN form: one barcode that the carrier scans at pickup for every label on the form.

Requires a client key with one of these scopes: admin:shipments:read

The requirement applies to every field of ShippingScanForm unless that field declares its own scopes.

type ShippingScanForm implements Node

Fields

FieldTypeDescription
createdAtDateTime!
When the form was created.
documentUrls[URL!]!
The form PDFs from the carrier. Empty unless status is SUCCEEDED.
errorMessageString
Why the form failed. Null unless status is FAILED.
idID!
A globally unique ID. Treat this value as an opaque string.
labelCountNonNegativeInt!
The number of labels on the form.
shipDateDate!
The day the carrier collects the labels: the creation date of the labels in US Central Standard Time (UTC-6).
shipmentsShippingScanFormShipmentConnection!
The shipments whose labels are on the form, in label creation order. A shipment that the caller cannot read has no edge.Arguments:
after: String — Returns shipments after this cursor.
first: Int — The maximum number of shipments. Defaults to 20, at most 100 (10,000 for Soho).
statusShippingScanFormStatus!
The status of the form. A QUEUED form is checked with the carrier when an operation reads this field, documentUrls or errorMessage, so a page with many QUEUED forms can take longer. When the carrier does not answer, the field gives the last known status.

Returned by