get
https://connect.agendapro.com/v3/sales//history
This endpoint returns the change history of a sale, oldest first.
Important Notes
- Requires
sales:readscope. actioniscreate,updateordestroy.changesis{field: [before, after]}onupdateand{field: value}oncreateanddestroy. It only carries fields of theSaleresource; anything else is left out.user_idis the AgendaPro user who made the change, ornullwhen the change had no user.atis UTC.- Canceling a sale is the
updateentry whosechanges.statusends incanceled: itsuser_idis who canceled it and itsatis when. - A sale of another company, or one that no longer exists, answers 404.
Errors Dictionary
| Status | Error | Detail | Description |
|---|---|---|---|
| 400 | invalid_range | page, per_page | Pagination value is not a positive number. |
| 401 | unauthorized | invalid_api_key | Missing or invalid Bearer token. |
| 401 | unauthorized | api_config_inactive | API access is inactive for this company. |
| 403 | forbidden | scope_denied | API key lacks sales:read scope. |
| 404 | not_found | sale | Sale not found, or it belongs to another company. |
| 429 | rate_limited | burst_limit_exceeded | Per-minute request limit exceeded. |
| 429 | rate_limited | daily_quota_exceeded | Daily request quota exceeded. |
| 502 | upstream_unavailable | The upstream service is unavailable. |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
