Skip to main content
POST
Create Shipment Document

Authorizations

Authorization
string
header
required

Your API key, sent in the Authorization header: Authorization: YOUR_API_KEY. A Bearer prefix is also accepted (Authorization: Bearer YOUR_API_KEY). Keys are created in the Upwell dashboard (Account → API keys) and are scoped to one organization.

Path Parameters

shipmentId
string
required

Upwell shipment id (shi_…). This is the shipment record id, not the source load number stored on shipment.shipmentId. Required in the path; the same value may also be sent in the JSON body.

Body

application/json

Query parameters can also be provided in the request body as a JSON object

input
CreateShipmentDocumentInput · object

Object containing the fields to create or update. Only the fields in this endpoint schema are accepted.

shipmentId
string

Upwell shipment id (shi_…). This is the shipment record id, not the source load number stored on shipment.shipmentId.

Response

Responses for POST /api/rest/shipments/{shipmentId}/documents

createShipmentDocument
ShipmentDocument · object

Created shipment document. The saved REST query returns only id and documentId. id is the file id used by DELETE. documentId is the documents row id. Call GET for file, shipment, and visibility.