Zmień status przetargu
set_tender_statusMoves a tender of the signed-in company's 'Moje przetargi' (tender_id) to another status — a kanban column by its name as the company sees it (status from list_my_tenders, e.g. 'Do przejrzenia') or by its id (status_id) — with the moves the app allows: between the company's own kanban stages, to 'Do wysłania' or 'Oczekiwanie na wynik', closing it as 'Wygrana', 'Uczciwa przegrana', 'Nieuczciwa przegrana', 'Anulowane', 'Do odwołania' or 'Odpuszczam', back from 'Do wysłania' / 'Oczekiwanie na wynik' to a work stage, and an appeal to 'Udane odwołanie' or 'Nieudane odwołanie'. Odpuszczam needs a reason; for a loss, cancellation or appeal the reason is optional, for Wygrana the contract value. A refused move lists the allowed statuses with their names (allowed_statuses). Saved to the status history; the rest of the team is notified as in the app. Requires OAuth authentication and a trial or paid plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | why — required for Odpuszczam; for losses, cancellation and appeals optional | |
| status | Yes | target status: the name of a kanban column as the company sees it (e.g. 'Do wysłania') or its id | |
| tender_id | Yes | ||
| winning_price | No | contract value in PLN, for Wygrana |