Get Theme Task

🔒

Requires read_themes access scope. More access scope

The Get Theme Task API retrieve the status and details of a specific theme-related task.

This API is especially useful for:

  1. Monitoring the progress of theme operations (publishing, updating, etc.)
  2. Troubleshooting failed theme tasks
  3. Building task status tracking interfaces

Request Parameters

Public Request Parameters

📘

Path Parameters

ParameterTypeRequiredDescriptionExample
task_idstringYesUnique identifier of the theme task"task_123456789"

Response Explanation

Public Response Parameters

📘

Successful Response

ParameterTypeExampleDescription
codestring"success"Status code of the response
messagestring"OK"Descriptive message of the response
data.taskobject{...}Detailed task object

Task Object

ParameterTypeExampleDescription
idstring"task_123456789"Unique task identifier
store_idint3212345Store ID associated with the task
typestring"theme_publish"Type of task being performed
statusint322
created_atstring"2025-01-01T00:00:00Z"Task creation timestamp
updated_atstring"2025-01-01T00:05:00Z"Last update timestamp
infostring"Publishing theme v2.1"Additional task information
messagestring"Publish successful"Status message
manifeststring"{\"version\":\"2.1.0\"}"JSON string with task details

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!