Types > ShardedTask
Commerce APITypesShardedTask
ShardedTask

Description

Fields

created_at: String!

The date and time when the task was created, RFC 3339 format

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


description: String!

Description of the task

Example: "Products CSV Import (TODO: better example)"


error_spans: [ShardedTaskSpan!]!


error_token: String!

Token which grants you access to CSV import error report


errors: [ShardedTaskError!]!


id: String!

Unique sharded task identifier. See also: Unique Identifiers

Example: "xa_EQzGqWoY"


import_info: ShardedTaskCSVImportInfo

Additional info about a CSV import task (if the task is one)


is_done: Boolean!

Whether the worker has finished working on a task or not

Example: false


name: String!

Name of the task

Example: "Products CSV Import"


progress: ShardedTaskProgress!


result_file: File

File this task results with (e.g. CSV export tasks)

Expandable

Permission bit: "files.read"


stale_seconds: Int!

Seconds since last update according to server's notion of time

Example: 54


updated_at: String!

The date and time when the task was last updated, RFC 3339 format

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


Used By

Types

File, ForeignShardedTask, ShardedTaskExpandableItems

Preview (typescript)

Loading module