# Getting the latest information on a product task

The following [`GET /v1/products/tasks/{taskId}`](https://app.gitbook.com/s/drE2RCYBuoRpd2TC2sx2/product-management/retrieve-the-product-task-status-synchronous-api#v1-products-tasks-taskid) request gets the latest product information for an asynchronous task. It indicates whether the request was completed successfully and lists all products associated with that task. This request requires the task identifier (`taskId`) provided in the response when you [created or updated the product](https://docs.digitalriver.com/commerce-api/admin-apis/product-management/manage-products-asynchronous-api/creating-or-updating-a-product).

{% hint style="info" %}
You cannot [change or modify a product](#updating-a-product) until the [create product request](#creating-a-base-or-individual-product) completes successfully.
{% endhint %}

{% tabs %}
{% tab title="cURL" %}

```
curl --location --request GET 'https://api.digitalriver.com/v1/products/tasks/{taskId}' \
--header 'Authorization: Basic <API_key>' \
...
```

{% endtab %}

{% tab title="200 OK response" %}
The response returns tthe [product data](https://app.gitbook.com/s/oUderMtztdH7OKDXmYbI/commerce-api-reference-guide/glossary#products), the [task identifier](https://app.gitbook.com/s/oUderMtztdH7OKDXmYbI/commerce-api-reference-guide/glossary#task-identifier) (`taskId`), the [request type](https://app.gitbook.com/s/oUderMtztdH7OKDXmYbI/commerce-api-reference-guide/glossary#request-type) (`requestType`), and [task status](https://app.gitbook.com/s/oUderMtztdH7OKDXmYbI/commerce-api-reference-guide/glossary#task-status-1) (`taskStatus`) in the [synchronous ](https://docs.digitalriver.com/commerce-api/admin-apis/getting-started#asynchronous-and-synchronous-calls)response.&#x20;

```json
{
    "taskId": "ea310126-cba4-46be-9cff-82dded915dbf",
    "products": [
        {
            "id": "50792700080",
            "externalReferenceId": "47f3e694-f638-4263-b97d-f0f921ae20d3",
            "productType": "BASE"
        },
        {
            "id": "50792710080",
            "externalReferenceId": "9f00245b-ccfa-4ca0-805b-13d01b685dfb",
            "productType": "VARIATION"
        },
        {
            "id": "50792720080",
            "externalReferenceId": "43c0d80d-82fe-418f-ad57-0a8688bd7c2f",
            "productType": "VARIATION"
        }
    ],
    "requestType": "CREATE_PRODUCT",
    "taskStatus": "COMPLETED",
    "receivedTime": "2022-08-11T16:32:26.547Z",
    "finishedTime": "2022-08-11T16:32:31.185Z"
}
```

{% endtab %}
{% endtabs %}
