Description
Modify shop task.
Permission bit: "tasks.modify"
Topic: Tasks
Arguments
data: [TaskModify!]!
Main argument for mutations.
List of shop task ids. See also: Unique Identifiers
Example: ["ta_EQzGqWoY"]
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Increment total amount of lines to work on
Example: 43
Valid when: add_lines is a non-negative integer
Increment amount of lines successfully processed
Example: 31
Valid when: add_lines_complete is a non-negative integer
Increment amount of lines skipped
Example: 12
Valid when: add_lines_skipped is a non-negative integer
add_messages: [TaskMessageCreate!]
Add messages to the task
Automatically mark task as done when it reaches "lines" count
Example: false
Whether the worker has finished working on a task or not
Example: false
Total amount of lines submitted
Example: 0
Valid when: lines is a non-negative integer
Amount of lines successfully processed
Example: 0
Valid when: lines_complete is a non-negative integer
Amount of lines skipped
Example: 0
Valid when: lines_skipped is a non-negative integer
Path where the resulting file is stored
Example: "hello/123.txt"
Valid when: path's length doesn't exceed 250 characters
Name of the result
Example: "customers"
Valid when: result_name's length doesn't exceed 250 characters
Result
[Task!]
Preview (typescript)
Loading module