{
"id": "whe_example",
"createdAt": "2024-11-17T18:23:03.945732",
"updatedAt": "2024-11-17T18:23:03.945732",
"scheduledAt": null,
"processedAt": null,
"status": "PENDING",
"operation": "UPDATE",
"payload": {
"new": {
"id": "cari_example",
"status": "RECEIVED",
"balance": 250741,
"bill_id": null,
"currency": "EUR",
"due_date": "2024-12-19",
"metadata": null,
"tenant_id": "ten_example",
"carrier_id": "car_example",
"created_at": "2024-11-16T00:59:33.492433+00:00",
"deleted_at": null,
"issue_date": "2023-09-10",
"updated_at": "2024-11-17T18:22:58.990876+00:00",
"load_number": "LOAD-2343",
"received_at": "2024-11-16T00:59:33.492433+00:00",
"shipment_id": null,
"total_amount": 250741,
"invoice_number": "1027",
"total_tax_amount": 0,
"reference_numbers": null,
"source_system_meta": {
"type": "ACCOUNTS_PAYABLE",
"mergeId": "fd4c7a80-5813-4782-b6ee-fc6627bb0dc8",
"remoteId": "75",
"field_mappings": {
"organization_defined_targets": null,
"linked_account_defined_targets": null
},
"remote_updated_at": "2023-01-26T20:54:08Z",
"remote_was_deleted": false,
"tracking_categories": []
},
"customer_invoice_id": null,
"created_from_email_message_id": null,
"documents_type_or_customer_visibility_updated_at": null
},
"old": {
"id": "cari_example",
"status": "RECEIVED",
"balance": 250741,
"bill_id": null,
"currency": "USD",
"due_date": "2024-12-19",
"metadata": null,
"tenant_id": "ten_example",
"carrier_id": "car_example",
"created_at": "2024-11-16T00:59:33.492433+00:00",
"deleted_at": null,
"issue_date": "2023-09-10",
"updated_at": "2024-11-16T00:59:33.492433+00:00",
"load_number": "LOAD-1027",
"received_at": "2024-11-16T00:59:33.492433+00:00",
"shipment_id": null,
"total_amount": 250741,
"invoice_number": "1027",
"total_tax_amount": "0",
"reference_numbers": null,
"source_system_meta": {
"type": "ACCOUNTS_PAYABLE",
"mergeId": "fd4c7a80-5813-4782-b6ee-fc6627bb0dc8",
"remoteId": "75",
"field_mappings": {
"organization_defined_targets": null,
"linked_account_defined_targets": null
},
"remote_updated_at": "2023-01-26T20:54:08Z",
"remote_was_deleted": false,
"tracking_categories": []
},
"customer_invoice_id": null,
"created_from_email_message_id": null,
"documents_type_or_customer_visibility_updated_at": null
}
},
"table": "carrier_invoices",
"webhookSubscriptionId": "whs_example",
"resourceId": "cari_example",
"retryOfId": null,
"retries": []
}Handle carrier invoice events
Triggered when a carrier invoice record is created, updated, or deleted
{
"id": "whe_example",
"createdAt": "2024-11-17T18:23:03.945732",
"updatedAt": "2024-11-17T18:23:03.945732",
"scheduledAt": null,
"processedAt": null,
"status": "PENDING",
"operation": "UPDATE",
"payload": {
"new": {
"id": "cari_example",
"status": "RECEIVED",
"balance": 250741,
"bill_id": null,
"currency": "EUR",
"due_date": "2024-12-19",
"metadata": null,
"tenant_id": "ten_example",
"carrier_id": "car_example",
"created_at": "2024-11-16T00:59:33.492433+00:00",
"deleted_at": null,
"issue_date": "2023-09-10",
"updated_at": "2024-11-17T18:22:58.990876+00:00",
"load_number": "LOAD-2343",
"received_at": "2024-11-16T00:59:33.492433+00:00",
"shipment_id": null,
"total_amount": 250741,
"invoice_number": "1027",
"total_tax_amount": 0,
"reference_numbers": null,
"source_system_meta": {
"type": "ACCOUNTS_PAYABLE",
"mergeId": "fd4c7a80-5813-4782-b6ee-fc6627bb0dc8",
"remoteId": "75",
"field_mappings": {
"organization_defined_targets": null,
"linked_account_defined_targets": null
},
"remote_updated_at": "2023-01-26T20:54:08Z",
"remote_was_deleted": false,
"tracking_categories": []
},
"customer_invoice_id": null,
"created_from_email_message_id": null,
"documents_type_or_customer_visibility_updated_at": null
},
"old": {
"id": "cari_example",
"status": "RECEIVED",
"balance": 250741,
"bill_id": null,
"currency": "USD",
"due_date": "2024-12-19",
"metadata": null,
"tenant_id": "ten_example",
"carrier_id": "car_example",
"created_at": "2024-11-16T00:59:33.492433+00:00",
"deleted_at": null,
"issue_date": "2023-09-10",
"updated_at": "2024-11-16T00:59:33.492433+00:00",
"load_number": "LOAD-1027",
"received_at": "2024-11-16T00:59:33.492433+00:00",
"shipment_id": null,
"total_amount": 250741,
"invoice_number": "1027",
"total_tax_amount": "0",
"reference_numbers": null,
"source_system_meta": {
"type": "ACCOUNTS_PAYABLE",
"mergeId": "fd4c7a80-5813-4782-b6ee-fc6627bb0dc8",
"remoteId": "75",
"field_mappings": {
"organization_defined_targets": null,
"linked_account_defined_targets": null
},
"remote_updated_at": "2023-01-26T20:54:08Z",
"remote_was_deleted": false,
"tracking_categories": []
},
"customer_invoice_id": null,
"created_from_email_message_id": null,
"documents_type_or_customer_visibility_updated_at": null
}
},
"table": "carrier_invoices",
"webhookSubscriptionId": "whs_example",
"resourceId": "cari_example",
"retryOfId": null,
"retries": []
}Authorizations
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.
Body
Details that are sent over to the webhook
The unique identifier for the event.
The timestamp when the event was created.
The timestamp when the event was last updated.
The status of the event (e.g., PENDING).
The operation type that triggered the event.
INSERT, UPDATE, DELETE Show child attributes
Show child attributes
The timestamp when the event is scheduled to be processed.
The timestamp when the event was processed.
Response
Return a 200 status to indicate that the data was received successfully

