curl --request POST \
--url https://api.upwell.com/api/rest/shipments/{shipmentId}/documents \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"base64": "<string>",
"filename": "<string>",
"mimeType": "<string>",
"sourceSystem": "<string>",
"sourceSystemId": "<string>",
"type": "<string>",
"visibleToCarrier": true,
"visibleToCustomer": true
},
"shipmentId": "<string>"
}
'{
"createShipmentDocument": {
"documentId": "<string>",
"id": "<string>"
}
}Create a new shipment document
curl --request POST \
--url https://api.upwell.com/api/rest/shipments/{shipmentId}/documents \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"base64": "<string>",
"filename": "<string>",
"mimeType": "<string>",
"sourceSystem": "<string>",
"sourceSystemId": "<string>",
"type": "<string>",
"visibleToCarrier": true,
"visibleToCustomer": true
},
"shipmentId": "<string>"
}
'{
"createShipmentDocument": {
"documentId": "<string>",
"id": "<string>"
}
}Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY
"shipmentId" is required (enter it either in parameters or request body)
Query parameters can also be provided in the request body as a JSON object