Retrieving the tasks for products

Learn how to retrieve the tasks for products.

Retrieving the tasks for all products

The following GET /v1/products/tasks request retrieves all tasks. You can use query parameters to filter the results.

The following example retrieves the tasks for all products.

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

Retrieving product tasks by status

To retrieve a task by status, use the taskStatus query parameter. See Tasks query parameters for more information on the available query parameters.

The following example gets all completed product tasks between 8 am and noon on March 6th, 2023

curl --location --request GET 'https://api.digitalriver.com/v1/products/tasks?taskStatus=COMPLETED'?beginReceivedTime='2023-03-06T00:08:00.000Z?endReceivedTime='2023-03-06T12:00:00.000Z' \
--header 'Authorization: Bearer <API_key>' \
...

Last updated