Admin API / Types
ShippingScanForm
ObjectA 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:readThe requirement applies to every field of ShippingScanForm unless that field declares its own scopes.
type ShippingScanForm implements NodeFields
| Field | Type | Description |
|---|---|---|
createdAt | DateTime! | When the form was created. |
documentUrls | [URL!]! | The form PDFs from the carrier. Empty unless status is SUCCEEDED. |
errorMessage | String | Why the form failed. Null unless status is FAILED. |
id | ID! | A globally unique ID. Treat this value as an opaque string. |
labelCount | NonNegativeInt! | The number of labels on the form. |
shipDate | Date! | The day the carrier collects the labels: the creation date of the labels in US Central Standard Time (UTC-6). |
shipments | ShippingScanFormShipmentConnection! | 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). |
status | ShippingScanFormStatus! | 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. |