/orders/{orderId}experimentalWymagana sesjaResponds 403 when the caller is not a member of the order's workshop and 404 when no such order exists.
Parametry ścieżki
| Nazwa | Typ | Wymagane | Ograniczenia | Opis |
|---|---|---|---|---|
| orderId | string | Tak | - | Order id |
Odpowiedzi
200SuccessPole Typ Wymagane Ograniczenia Opis order Order Tak - An order as returned to a member: title, customer name and notes are edited in place through this same shape, status changes are recorded in statusHistory. Przykład{ "order": { "id": "order-1", "workshopId": "workshop-1", "title": "Oak dining table", "customerName": "Anna Kowalska", "notes": "Six chairs to match, deliver by the 20th.", "status": "in_progress", "createdAt": "2026-08-01T09:00:00.000Z", "lastActivityAt": "2026-08-10T14:30:00.000Z", "statusHistory": [ { "status": "todo", "at": "2026-08-01T09:00:00.000Z" }, { "status": "in_progress", "at": "2026-08-10T14:30:00.000Z" } ] } }401Not authenticatedBrak treści.
403ForbiddenBrak treści.
404Not foundBrak treści.
Przykładowe żądanie
curl -X GET 'https://mercastra.cloud/api/orders/<orderId>' \ -H 'Cookie: session=<session cookie>'