Create a scan form
POST /shipping/api/v1/scan_forms/{sub_carrier_id}
Create a scan form (manifest) for a specific carrier. A scan form groups together all shipments from a collection address into a single document that can be scanned by the carrier during pickup, rather than scanning each package individually.
The response may include multiple manifests depending on the shipments associated with the collection address.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The sub-carrier identifier (e.g., USPS, UPS)
Example
USPSRequest Body required
Section titled “Request Body required ”object
The collection/pickup address where packages will be collected from. You can provide either a saved address ID or the full address fields.
object
Veeqo Address Service ID for a saved address
b8b3e7b6-3adc-417f-963b-dd9851947ac2Contact name at the collection address
My WarehouseCompany name
Acme CorpPhone number
+12065551234Email address
Address line 1
410 Terry Ave NAddress line 2
City/town
SeattlePostal/ZIP code
98109ISO 3166-1 alpha-2 country code
USState/region/county
WAExamples
Create scan form with full collection address
{ "collection_address": { "name": "My Warehouse", "company": "Acme Corp", "phone": "+12065551234", "line1": "410 Terry Ave N", "town": "Seattle", "postcode": "98109", "country_code": "US", "county": "WA" }}Create scan form using a saved address
{ "collection_address": { "address_id": "b8b3e7b6-3adc-417f-963b-dd9851947ac2" }}Responses
Section titled “ Responses ”Scan form created successfully
object
List of created scan form manifests
object
Unique identifier for the scan form
a1b2c3d4-e5f6-7890-abcd-ef1234567890Unique identifier for the collection form. Use this value when calling the reprint endpoint.
a1b2c3d4-e5f6-7890-abcd-ef1234567890990001511Name of the carrier
USPSNumber of shipments included in this scan form
5Status of the scan form generation
COMPLETEDAny error messages from failed manifest requests
Bad request - missing or invalid collection address, or manifest creation failed
object
List of error messages
[ "to_address is required"]{ "error_messages": [ "Invalid request parameters" ]}