Reject quotation
Requires express quotations to be enabled in the task’s current project. Returns 403 when disabled.
Rejects the quotation, marking it as not accepted. Rejected quotations will not be used for billing.
What happens when a quotation is rejected:
- The quotation status changes to Rejected
- The quotation will not be used for task billing
- If this was the accepted quotation, the task’s
hasAcceptedQuotationflag is cleared - Notifications are sent to task subscribers
Note: Rejecting a quotation does not affect other quotations for the same task. You can reject multiple quotations, but only one can be Accepted at a time.
POST
/tasks/{identifier}/express-quotations/{quotationId}/rejectAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
identifierstringrequiredTask UUID or numeric shortNumber
quotationIdstringrequiredQuotation UUID
Responses
200Quotation rejected successfully
successbooleanrequiredOperation success flag
400Invalid task identifier or quotation ID
401Unauthorized - Invalid or missing authentication token
403No access to task project or express quotations are disabled
404Task or quotation not found
Request
curl -X POST "https://leadtime.app/api/public/tasks/550e8400-e29b-41d4-a716-446655440000%20or%20123/express-quotations/550e8400-e29b-41d4-a716-446655440000/reject" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/tasks/550e8400-e29b-41d4-a716-446655440000%20or%20123/express-quotations/550e8400-e29b-41d4-a716-446655440000/reject", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.post(
"https://leadtime.app/api/public/tasks/550e8400-e29b-41d4-a716-446655440000%20or%20123/express-quotations/550e8400-e29b-41d4-a716-446655440000/reject",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{
"success": true
}Invalid task identifier or quotation ID
Unauthorized - Invalid or missing authentication token
No access to task project or express quotations are disabled
Task or quotation not found