v14

OpenAPI 3.1.02026-08-03122113375.9 KB
user-cases

Update case

Apply a buyer action to an existing case.

Use this endpoint for buyer-side case progression (for example accepting, rejecting, or escalating outcomes).

Rules:

  • Case must belong to the authenticated user.
  • Returns 409 when an accepted outcome can no longer be modified.

Side effects:

  • Escalation actions trigger case update notifications.
  • Returns the refreshed case record with outcomes and attachments.
put/user/cases/{id}

Path parameters

idstring required

Case ID

Case ID

Request body

OR
OR
OR

Response

Updated case

idstring cuid2 required
workflowIdstring required
purchaseIdstring required
reason'SNAD' | 'DAMAGED' | 'WRONG_ITEM' | 'NOT_RECEIVED' | 'OTHER' | 'CHARGEBACK' required
commentstring nullable
status'OPEN' | 'REMEDIATION' | 'SETTLED' | 'CLOSED' | 'ESCALATED' required
createdAtstring date-time nullable required
updatedAtstring date-time nullable required