Skip to main content

Decline Customer Quote

POST 

/api/public/quotes/:token/decline

Declines the quote, with an optional reason for the seller. The seller is alerted.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Body

  • reason (optional, string, max 1000).

Only a sent or viewed quote can be declined. An expired quote can still be declined.

No login. The 64-character quote token in the URL is the only credential — send no bearer token. The request must go to the seller's own workspace domain (e.g. https://acme.sku.io): the workspace is identified from the request's domain, and any other domain answers 404. Returns 503 while the workspace is briefly under maintenance.

Every refusal is JSON {message, reason}: message is written for the buyer and reason is a stable code — not_found (404: unknown token, a quote that was never sent, or a quote answered on a sales channel), being_updated (422: the seller is revising the quote; also carries quote_number and seller_name), expired, already_answered, closed, invalid_selection (all 422).

Limited to 10 requests per minute per IP address (shared with accept and comment).

Returns the updated quote (same shape as Get Customer Quote).

Authentication: none (quote token in the URL).

Request​

Responses​

OK

Response Headers
    Content-Type