Skip to main content

Supplier Quote Activity Logs

Activity logs for a supplier quote: messages, file attachments, and system events (e.g. status changes) on a quote. Use this API as a supplier to list, create, retrieve, or delete activity log entries for quotes where your org is the supplier.

Endpoint​

METHODEndpointDescriptionPath Parameters
GET/suppliers/:org_id/quotes/:quote_id/activity_logs/List activity logs for the quoteorg_id, quote_id
POST/suppliers/:org_id/quotes/:quote_id/activity_logs/Create an activity log (e.g. message or file)org_id, quote_id
GET/suppliers/:org_id/quotes/:quote_id/activity_logs/:log_id/Get a single activity logorg_id, quote_id, log_id
DELETE/suppliers/:org_id/quotes/:quote_id/activity_logs/:log_id/Delete a file or message log (not event logs)org_id, quote_id, log_id
  • :org_id your OpenSolar Organization ID
  • :quote_id - ID number of the quote
  • :log_id - ID number of the quote activity log

List supports ordering (created_at, id; default -created_at) and filter tags__name.

Examples​

List activity logs for a quote​

Request
curl "https://api.opensolar.com/api/suppliers/123/quotes/456/activity_logs/?ordering=-created_at" \
--header "Authorization: Bearer <token>"
Response

Array of activity log objects. Example:

[
{
"url": "https://api.opensolar.com/api/suppliers/123/quotes/456/activity_logs/1/",
"quote": "https://api.opensolar.com/api/orgs/100/quotes/456/",
"activity_type": "message",
"message": "Customer confirmed delivery address.",
"private_file": null,
"file_url": null,
"file_name": null,
"custom_data": null,
"created_by": "Jane Smith (jane@supplier.com)",
"created_at": "2025-02-20T14:30:00Z",
"is_deleted": false,
"message_data": [
{
"title": "Message",
"message": "Customer confirmed delivery address.",
"time": "20 Feb 2025, 2:30PM"
}
],
"event_data": [
{
"title": "Message",
"message": "Customer confirmed delivery address.",
"time": "20 Feb 2025, 2:30PM"
}
]
}
]

Get a single activity log​

Request
curl "https://api.opensolar.com/api/suppliers/123/quotes/456/activity_logs/1/" \
--header "Authorization: Bearer <token>"
Response

Single activity log object (same shape as each item in the list above).

Create an activity log (message)​

Post a message or note to the quote’s activity timeline and keep delivery updates, clarifications, and internal notes in one place. Every log is attributed to the authenticated user and timestamped, giving a clear audit trail on the quote.

Request
curl -X POST "https://api.opensolar.com/api/suppliers/123/quotes/456/activity_logs/" \
--header "Authorization: Bearer <token>" \
--header "Content-Type: application/json" \
--data '{
"message": "Quote sent to customer.",
"tags": ["note"]
}'
Response

Returns the created activity log object.

Delete an activity log​

Request
curl -X DELETE "https://api.opensolar.com/api/suppliers/123/quotes/456/activity_logs/1/" \
--header "Authorization: Bearer <token>"
Response

204 No Content on success. Only activity logs of type file or message can be deleted; event logs cannot be deleted.