{
"id": "whe_example",
"createdAt": "2024-12-10T13:48:31",
"updatedAt": "2024-12-10T13:48:31",
"scheduledAt": null,
"processedAt": null,
"status": "PENDING",
"operation": "INSERT",
"payload": {
"new": {
"documents": [
{
"id": "doc_example",
"type": "PROOF_OF_DELIVERY",
"visibleToCustomer": true,
"visibleToCarrier": false,
"isPod": true,
"sourceSystem": null,
"sourceSystemId": null
}
],
"shipment": {
"id": "shipment_example",
"number": "1234"
},
"file": {
"id": "file_example",
"filename": "filename_example",
"url": "https://files.example.com/signed/document"
},
"created_at": "2024-11-17T18:38:29.405283",
"updated_at": "2024-11-17T22:12:44.900167"
},
"old": null
},
"table": "shipment_documents",
"webhookSubscriptionId": "whs_example",
"resourceId": "fa_example",
"retryOfId": null,
"retries": [],
"trigger": "create.shipment_document"
}Handle shipment documents events
Shipment file association inserts and updates deliver shipment, signed file URL and document details for each populated row. If the deleted association cannot be found at dispatch, delivery is skipped.
{
"id": "whe_example",
"createdAt": "2024-12-10T13:48:31",
"updatedAt": "2024-12-10T13:48:31",
"scheduledAt": null,
"processedAt": null,
"status": "PENDING",
"operation": "INSERT",
"payload": {
"new": {
"documents": [
{
"id": "doc_example",
"type": "PROOF_OF_DELIVERY",
"visibleToCustomer": true,
"visibleToCarrier": false,
"isPod": true,
"sourceSystem": null,
"sourceSystemId": null
}
],
"shipment": {
"id": "shipment_example",
"number": "1234"
},
"file": {
"id": "file_example",
"filename": "filename_example",
"url": "https://files.example.com/signed/document"
},
"created_at": "2024-11-17T18:38:29.405283",
"updated_at": "2024-11-17T22:12:44.900167"
},
"old": null
},
"table": "shipment_documents",
"webhookSubscriptionId": "whs_example",
"resourceId": "fa_example",
"retryOfId": null,
"retries": [],
"trigger": "create.shipment_document"
}Authorizations
Body
Details of the shipment document file associations event
Timestamp when this record was created in Upwell. It is not the business document date and may be much later when historical data is imported. See createdAt definition.
Timestamp of the record's latest recorded update in Upwell. It is not a shipment event, payment date, or document revision date. See updatedAt definition.
Timestamp when the asynchronous job is scheduled to run. It is not a promise of completion at that time. See scheduledAt definition.
Timestamp recorded for processing the event or job. It is separate from the event's underlying business date. See processedAt definition.
Deprecated source table, such as carrier_invoices. Still included for compatibility with existing receivers. Migrate payload parsing and routing to trigger and correlate on resourceId. No removal date is scheduled; a future sunset date will be documented and communicated before removal.
Response
Return a 200 status to indicate that the data was received successfully

