Shipments
Request a shipment document upload
Creates a pending proof-of-delivery document before creating a self-fulfilled shipment. Upload the file with every returned upload_headers entry, including Content-Type (the requested filetype), poll /shipments/documents/{file_id} until validation succeeds, then supply file_id to /shipments.
post/shipments/documents
Request
- Base URLhttps://app-sandbox.resolvepay.com/api
- Auth
- HTTP bearer
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"filename": "proof_of_delivery.pdf",
"filetype": "application/pdf"
}Response
Pending shipment document upload request.
Example response
{
"url": "https://bucket.s3.amazonaws.com/1234567890-proof_of_delivery.pdf",
"upload_url": "https://bucket.s3.amazonaws.com/1234567890-proof_of_delivery.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&..."
}Changes
No recorded changes to this operation across all 1 revision of this API.