Close a case from the merchant review stage
to try read requests with your account, or paste an API key into the Authorization field. Create an API key in the Partner Portal.
Closes a case once you're satisfied, typically after Prets has handled your request and handed the case back to you for review. You can add an optional closing message.
Returns the closed case, with state set to closed. Returns 409 when the case cannot be closed from its current stage, including when it is already closed, and 404 when the case does not exist or is not visible to you.
caseId*stringPlatform case id (cas_{ULID})
^cas_[0-9A-HJKMNP-TV-Z]{26}$application/json- body
Optional closing note posted with the close
message?Optional closing note posted alongside the close
The closed case
application/json- response
Case after it was closed
data*||Quote support Case. Conversation lives on /messages; this resource is metadata and lifecycle only.
bearerAuthAuthorizationBearer <token>curl -X POST 'https://api.prets.app/v1/cases/cas_01ARZ3NDEKTSV4RRFFQ69G5FAV/close' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "caseId": "cas_01ARZ3NDEKTSV4RRFFQ69G5FAV", "quote": { "quoteId": "qot_01ARZ3NDEKTSV4RRFFQ69G5FAV" }, "type": "merchant_feedback", "requestType": "Reschedule Meeting", "subject": "Customer wants a later install date", "description": "The customer asked to move the appointment.", "stage": "Prets Action", "createdAt": "2026-08-14T09:12:04.000Z", "expiresAt": "2026-09-09", "createdBy": "Jane Advisor", "updatedAt": "2026-08-16T11:03:22.000Z", "state": "open", "waitingOn": "prets", "waitingSince": "2026-08-14T09:12:04.000Z" }}