Platitun · API · The deal · Work mode and presence
Work mode and presence
GET /api/v1/work-modeKey scope: orders · read only
Capacity, do-not-disturb, quiet hours — and what the marketplace knows about your presence. Presence is returned READ ONLY.
🔴 The ONE thing the API cannot and will not do: claim that you are PRESENT. The marketplace determines presence itself, and the answer to “Call the seller” is the fact of your entering the cabinet. Otherwise “present” would stop meaning anything: a buyer would be choosing a promise made by a program rather than a person at a computer.
Response fields
| Field | Type | What it is |
|---|---|---|
capacity | integer | How many orders you take at once. |
doNotDisturb | boolean | A request not to be called. |
quietFromHour | integer|null | Quiet hours start, UTC. |
quietToHour | integer|null | Quiet hours end, UTC. |
lastSeenAt | string|null | When the marketplace last saw you in the cabinet. |
presenceReadOnly | boolean | Always true — a reminder that presence cannot be claimed. |
Nearby in this section
GET /api/v1/orders— My ordersGET /api/v1/orders/{id}— One orderPOST /api/v1/orders/{id}/confirm— Take the orderPOST /api/v1/orders/{id}/decline— Decline the orderPOST /api/v1/orders/{id}/deliver— Mark the deliveryPOST /api/v1/orders/{id}/messages— Message the buyerGET /api/v1/orders/{id}/handover— The order vaultsPOST /api/v1/orders/{id}/handover— Put credentials into a vaultPOST /api/v1/orders/{id}/handover/reveal— Read the buyer’s vaultPOST /api/v1/orders/{id}/dispute/reply— Answer a disputeGET /api/v1/reviews— Reviews about mePOST /api/v1/reviews/{id}/reply— Reply to a reviewGET /api/v1/complaints— My complaintsPOST /api/v1/complaints— Complain about a buyerPUT /api/v1/work-mode— Set the work mode