Admin API / Types

CreateShippingScanFormsInput

Input

The labels to put on USPS SCAN forms.

input CreateShippingScanFormsInput

Input fields

FieldTypeDescription
idempotencyKeyString!A client-generated key, 1 to 200 characters after trim. A repeat with the same key and input within 24 hours returns the first result, also when more labels qualify after the first call. The same key with another input returns IdempotencyConflictError.
shipmentIds[ID!]1 to 100 shipments whose labels go on forms. An empty list, more than 100 IDs or a repeated ID gives a thrown VALIDATION_ERROR. Every label must qualify, or no form is made. Omit it to use each qualifying label created since 00:00 UTC yesterday.