latestOpenAPI 3.0.02026-08-1056429755.6 KB

a6efafc1669c

Get Product Task Status (Synchronous API)

Get the latest information for a product task

Get the latest product information for an asynchronous task. You can find the taskId in the response when you send a request to create or update product.

get/v1/products/tasks/{taskId}

Path parameters

taskIdstring required

The task identifier received in the response when you create or update a product (synchronous API).

Response

Successful response.

taskIdstring

The task identifier received in the response when you create or update a product (synchronous API).

receivedTimestring

The date and time when Global Commerce received the task.

finishedTimestring

The date and time when the Global Commerce task finished.

taskStatusstring

The status of the task.

requestTypestring

The request type for this task.

Example response

{
  "taskId": "d8a81162-aaaa-bbbb-cccc-ea513d1afa82",
  "receivedTime": "2022-05-01T23:00:21.123Z",
  "finishedTime": "2022-05-01T23:05:21.123Z",
  "taskStatus": "PUBLISHED",
  "requestType": "CREATE_PRODUCT"
}