Deal Room Public

Tick Plan Step

The prospect ticks (or unticks) a step owned by `them` or `both` (403 `not_your_step` otherwise).

API key access

This route has its own authentication (or none); an API key is not used here.
POST/api/v1/public/deal-rooms/{token}/plan/{step_id}

Path Parameters

tokenstring
step_idstring
Formatuuid
doneboolean

Response Body

curl -X POST "http://localhost:8000/api/v1/public/deal-rooms/string/plan/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{    "done": true  }'
{
  "workspace_name": "string",
  "deal_name": "string",
  "company_name": "string",
  "currency": "string",
  "items": [
    {
      "name": "string",
      "quantity": 0.1,
      "unit_price": 0.1,
      "total": 0.1
    }
  ],
  "subtotal": 0.1,
  "discount_pct": 0.1,
  "discount_amount": 0.1,
  "total": 0.1,
  "proposal": "string",
  "plan": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "title": "string",
      "owner": "string",
      "due_date": "2019-08-24",
      "done": true,
      "done_at": "2019-08-24T14:15:22Z",
      "can_tick": true
    }
  ],
  "signature": {}
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}