---
title: "Add Tasks"
method: POST
path: "/task/add"
---

# Add Tasks

`POST /task/add`

Creates new store task and store task entry ( that is status for each executor ). You can also set task type, title, created by, assigned to, validity, status and reminder.

## Request body

- object
  - `RAW_BODY` string, json

## Response `200`

200

- object
  - `response` object
    - `status` object
      - `success` string
      - `code` string
      - `message` string
    - `tasks` object
      - `task` object
        - `id` string
        - `title` string
        - `body` string
        - `start_date` string
        - `end_date` string
        - `action` object
          - `type` string
          - `template` string
        - `cashier_task` string
        - `comment` string[]
        - `customer_task` string
        - `execute_by_all` string
        - `creator` object
          - `type` string
          - `id` string
          - `name` string
        - `entries` object
          - `entry` object[]
            - `entry_id` string
            - `customer_id` string
            - `associate_id` string
            - `associate_name` string
            - `store_id` string
            - `status` string
            - `type` string
        - `reminders` object
          - `reminder` object[]
            - `id` string
            - `time` string
            - `created_by` string
            - `template` string
            - `remindee_id` string
        - `item_status` object
          - `success` string
          - `code` string
          - `message` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
