curl --request DELETE \
--url https://api.upwell.com/api/rest/shipments/{shipmentId}/documents/{id} \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"shipmentId": "<string>"
}
'{
"deleteFileAssociations": {
"affectedRows": 123,
"returning": [
{
"associationId": "<string>",
"fileId": "<string>",
"id": "<string>"
}
]
}
}Delete a shipment document by ID
curl --request DELETE \
--url https://api.upwell.com/api/rest/shipments/{shipmentId}/documents/{id} \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"shipmentId": "<string>"
}
'{
"deleteFileAssociations": {
"affectedRows": 123,
"returning": [
{
"associationId": "<string>",
"fileId": "<string>",
"id": "<string>"
}
]
}
}Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY
"id" is required (enter it either in parameters or request body)
"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
Responses for DELETE /api/rest/shipments/{shipmentId}/documents/{id}
response of any mutation on the table "file_associations"