Admin API / Mutations
createShippingScanForms
Creates USPS SCAN forms for labels bought through District. A label qualifies when it has no form or its form FAILED, its shipment is not REFUNDED, and its sender address has a street, city, state and ZIP code. One form holds the labels of one seller, shipping account, carrier account, sender address and ship date. Store staff can create forms for the labels of the store owner, and each form belongs to its seller. With no shipmentIds, the call uses each qualifying label created since 00:00 UTC yesterday, and no qualifying label gives NoEligibleLabelsError. A form that the carrier refuses has status FAILED, and its labels qualify again. A repeat with the same idempotencyKey and input within 24 hours returns the first result.
admin:shipments:writeRequires this member role or higher: SELLERcreateShippingScanForms(
input: CreateShippingScanFormsInput!
): CreateShippingScanFormsPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | CreateShippingScanFormsInput! | The labels to put on forms. |